-
Notifications
You must be signed in to change notification settings - Fork 4
Docker Commands
Hara edited this page Feb 10, 2022
·
1 revision
sudo gpasswd -a $USER docker
docker pull Image_name
docker start container_name
docker run -it --name container_name Image_name
docker attach container_name
docker exec -it container_name /bin/bash
xhost +
xhost local:containner_id
docker ps
docker ps -a
docker rm [コンテナID]
docker rmi [イメージID]
docker build -t image_name:tag_name /dockerfile_dir
docker commit container_name image_name:tag