Since I use Docker more often, I will leave a simple usage as a memorandum. Detailed operation
This section provides an example of using Docker's simple commands.
Check the container in process.
$ docker ps -a
If there are any unused containers, delete them.
$ID of docker rm container
Mount a local folder so that the container can handle directly under the folder.
$ docker run -v Local folder path:Container folder path-it ubuntu
Check if the container is in the process.
$ docker ps
If you want to leave the container, the shortcut "CTRL"+P+Q」
If you want to go back
$docker attach container ID
Check the image
$ docker images
If you have an unused image, delete it.
$ID of docker rmi image
Recommended Posts