Accessing containers
Networking
Port mapping:
3000:4000: Map port 3000 on the Docker host to TCP port 4000 in the container.
Types of images
Alpine: Stripped out all unnecessary stuff, useful for saving space.
Interactive mode
docker run -it image1:v1 /bin/bashcan be used to run a Docker image in interactive mode, spawing a shell.
Volumes
See more in Volumes