Docker
| Installation |
| Installation in Windows |
| Installation on Linux |
| Networks. |
| ls: List of all networks |
| connect: Add a container to the network |
| Basics |
| Clearly state Dockerfile |
| Reference |
| Basics |
| -d: detached mode |
| --namename |
| -p: Port forwarding |
| -v: Volume |
| Internal commands |
| --rm: Clean up after you. |
| All available options |
| nuance |
| Enter the working container |
| Its name. |
| FROM |
| LABEL |
| RUN |
| COPY |
| ENTRYPOINT |
| WORKDIR |
| EXPOSE |
| ENV |
| VOLUME |
| CMD |
| Examples |
| Ubuntu in a container on Windows 10 |
| Container with SSH access |
| Container with Nginx |
| Container for Jenkins Agent |
| A container for PyTest |
| Container for Swagger/OpenAPI |
| Installation |
| Check the version. |
| The simplest structure of the project |
| build |
| up |
| down |
| Reassemble only one container. |
| How to work with Docker through Portainer |
Article author: Andrei Olegovich