docs→rtfd

This commit is contained in:
Marc Beninca 2021-12-11 15:32:21 +01:00
parent 7bc781ed11
commit c7ec1dc5d1
131 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,75 @@
Host
====
Stats
-----
.. code:: shell
docker info
Images
------
List
^^^^
.. code:: shell
docker images
Import
^^^^^^
.. code:: shell
docker import archive_name.tar repository_name:image_name
Remove
^^^^^^
.. code:: shell
docker image rm image_name
Containers
----------
List
^^^^
.. code:: shell
docker ps --all
Create
^^^^^^
.. code:: shell
docker create \
--name container_name \
--publish host_port:container_port \
repository_name:image_name \
command argument_1 …
Start
^^^^^
.. code:: shell
docker start container_name
Stop
^^^^
.. code:: shell
docker stop container_name
Remove
^^^^^^
.. code:: shell
docker rm container_name