|
@@ -56,7 +56,8 @@ PYTHON:
|
|
|
|
|
|
|
|
|
DOCKER:
|
|
|
-- docker exec -it tigro000 bash --> explore Docker image 'tigro000' filesystem (with bash); more generally, docker exec will execute commands on it.
|
|
|
+- docker exec -it tigro000 bash --> explore filesystem Docker of *container* named 'tigro000' (with bash); more generally, docker exec will execute commands on it. The container has to be running.
|
|
|
- docker run -d --name tigro -p 80:80 tigro000 --> example of running Docker: run image 'tigro000' in container named 'tigro'; expose internal port 80 on external port 80 (-p); detach (-d)
|
|
|
- docker images --> check existing Docker images
|
|
|
-- docker ps --> check running docker containers
|
|
|
+- docker ps --> check running docker containers
|
|
|
+- docker rm IMAGE/CONTAINER --> delete selected image or container
|