- 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.
推薦閱讀
- DevOps with Kubernetes
- Learning Linux Binary Analysis
- Practical DevOps
- 微信小程序開發解析
- 劍指Java:核心原理與應用實踐
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- C語言程序設計實驗指導 (第2版)
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- Processing創意編程指南
- Emotional Intelligence for IT Professionals
- RocketMQ實戰與原理解析
- 計算機應用基礎(第二版)
- Java程序設計教程
- Python滲透測試編程技術:方法與實踐(第2版)
- Mastering Clojure