- Hands-On Docker for Microservices with Python
- Jaime Buelta
- 141字
- 2021-06-24 12:35:54
Refreshing Docker commands
We've looked at some of the important Docker commands:
- docker build: Builds an image
- docker run: Runs an image
- docker exec: Executes a command in a running container
- docker ps: Shows the currently running containers
- docker images: Displays the existing images
While these are the basic ones, knowing most of the available Docker commands is very useful for debugging problems and to perform operations such as monitoring, copying and tagging images, creating networks, and so on. These commands will also show you a lot about how Docker works internally.
An important command: be sure to clean up old containers and images with docker system prune from time to time. Docker is quite space-intensive after working with it for a few weeks.
The Docker documentation (https://docs.docker.com/v17.12/engine/reference/commandline/docker/) is quite complete. Be sure to know your way around it.
推薦閱讀
- 物聯(lián)網(wǎng)工程規(guī)劃技術(shù)
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- 5G承載網(wǎng)網(wǎng)絡(luò)規(guī)劃與組網(wǎng)設(shè)計(jì)
- Go Web Scraping Quick Start Guide
- 無人機(jī)通信
- 通信簡史:從信鴿到6G+
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- 智慧光網(wǎng)絡(luò):關(guān)鍵技術(shù)、應(yīng)用實(shí)踐和未來演進(jìn)
- 新手易學(xué):新手學(xué)淘寶開店
- Working with Legacy Systems
- 大型企業(yè)微服務(wù)架構(gòu)實(shí)踐與運(yùn)營
- 現(xiàn)代通信系統(tǒng)(第5版)
- 物聯(lián)網(wǎng)基礎(chǔ)及應(yīng)用
- Mastering Prezi for Business Presentations
- M262物聯(lián)網(wǎng)控制器應(yīng)用技術(shù)