- Learning Docker
- Pethuru Raj Jeeva S. Chelladhurai Vinod Singh
- 96字
- 2021-07-16 14:07:02
Running the first Docker container
Now, you can start your first Docker container. It is standard practice to start with the basic Hello World! application. In the following example, we will echo Hello World!
by using a busybox
image, which we have already downloaded, as shown here:
$ sudo docker run busybox echo "Hello World!" "Hello World!"
Cool, isn't it? You have set up your first Docker container in no time. In the preceding example, the docker run
subcommand has been used for creating a container and for printing Hello World!
by using the echo
command.
推薦閱讀
- Moodle Administration Essentials
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- AIRAndroid應用開發實戰
- CKA/CKAD應試教程:從Docker到Kubernetes完全攻略
- 軟件架構:Python語言實現
- Python數據分析從0到1
- 自制編程語言
- Application Development with Parse using iOS SDK
- Ext JS 4 Plugin and Extension Development
- Mastering JavaScript
- Mastering Embedded Linux Programming
- Extending Docker
- 城市信息模型平臺頂層設計與實踐
- 計算機軟件項目實訓指導
- Swift 2 Blueprints