- Spring 5.0 By Example
- Claudio Eduardo de Oliveira
- 136字
- 2021-06-24 19:17:30
Docker run
docker run is the most common Docker command. This command should be used to start the containers. The basic structure of a command is as follows:
docker run [OPTIONS] IMAGE[:TAG|@DIGEST] [COMMAND] [ARG...]
The options arguments enable some configurations for the container, for instance, the --name argument permits you to configure a name for a container. It is important for DNS when the container is running in a bridge network.
The network settings can be configured on the run command as well, and the parameter is -- net. This enables us to configure the network to which the container will be attached.
Another important option is detached. It indicates whether the container will run in the background. The -d parameter instructs Docker to run a container in the background.
推薦閱讀
- TypeScript Blueprints
- Photoshop智能手機APP UI設計之道
- RTC程序設計:實時音視頻權威指南
- Building Cross-Platform Desktop Applications with Electron
- Internet of Things with Intel Galileo
- Learning Selenium Testing Tools(Third Edition)
- Android嵌入式系統程序開發:基于Cortex-A8(第2版)
- Unity 2018 Augmented Reality Projects
- 微課學人工智能Python編程
- 監控的藝術:云原生時代的監控框架
- PHP+MySQL動態網站開發從入門到精通(視頻教學版)
- Hacking Android
- Getting Started with React VR
- H5+移動營銷設計寶典
- 高效使用Greenplum:入門、進階與數據中臺