docker
02-11
- Docker
- Docker Documentation
- image: an executable package that includes everything needed to run an application–the code, a runtime, libraries, environment variables, and configuration files
- container: a runtime instance of an image–what the image becomes in memory when executed (that is, an image with state, or a user process)
- docker, docker container --help, docker --version, docker version, docker info, docker image ls, docker container ls --all, docker container ls -a -q, docker run hello-world,
- Dockerfile: defines what goes on in the environment inside your container
- docker build -t friendlyhello . ,docker run -p 4000:80 friendlyhello, docker container stop 1fa4ab2cf395
- docker-compose.yml
推薦閱讀:
※把docker鏡像當作桌面系統來用
※Docker的總體架構
※Kubernetes指南開源電子書
※開年有大禮!阿里珍貴技術資料限時免費下載(第一季)
※docker源碼學習-docker run 的具體實現(2)
TAG:Docker |