Current Size:
Chakra BreakPoints
base0px
sm480px
md768px
lg992px
xl1280px
2xl1536px
Current Height:Width
widthpx
heightpx

Subjects

Docker Container Notes

Date Created: 2023/02/27

Last Update: 2023/03/03

#cheatsheet #docker #notes #container

Container Management

  • create

  • run

  • start

  • create creates a new container from an image but does not run

  • run is a combination command of create and start

  • start starts and already existing container

Start Container

docker start <container-name>
docker run <image-name>

Example

docker run app-foo

Start Container With Active Terminal

docker run -it <image-name>
docker run -it app-foo

Start Container with Bash

docker run -ti <image-name> /bin/bash

More Notes

All Notes
HomeProjects

Links

Home Articles Notes Projects About Style Guide Site Credits

Contact

 [email protected]

Location

🌎 Earth