Systematic Architecture [EN]
The blog on systems development/architecture, to be a beautiful, artistic one.
Monday, 3 October 2016
Debian (Linux OS) on Docker
Debian (Linux OS) on Docker ====================================== based on macOS Install Docker -------------- ```bash brew cask install docker ``` ### Installed Docker path ```bash /Applications/Docker.app/Contents/Resources/bin/docker ``` Create Debian image -------------------- ```bash $ docker run --name debian -i -v /Users/yourusername/Docker/Debian -t debian:wheezy /bin/bash ``` Start your image created on Docker ------------------------------------------ ```bash $ docker start debian ``` Stop your image created on Docker ------------------------------------------ ```bash $ docker stop debian ``` SSH access into a container --------------------------- ```bash docker exec -it debian /bin/bash ```
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment