You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Aleksey Zubakov ad77de3670 Add docker practice 2 years ago
..
README.md Add docker practice 2 years ago

README.md

Summary of Docker commands used in this tutorial

# List images
docker images

# Pull an image from Docker Hub
docker pull busybox

# Build a Docker image
docker build -t my-tag .

# Build image ignoring cached layers
docker build --no-cache -t my-tag .

# Run container in "interactive" mode
docker run -it <image-name>

# List containers
docker ps
docker ps -a  (include stopped containers)

# Connect to a running container (i.e., "login")
docker exec -it <container-name> -- /bin/bash