Docker

Installation
Installation
Installation in Windows
Installation on Linux
Basics
Check the version + info
No sudo.
run: Launching the container
ps -a: List of all containers
images
pull: Download the image
Download a specific version of the image
Image repository hub.docker.com
Turning on, off and removing containers
logs
system prune: remove everything
Keep the container active
Stop/remove all containers
Video lessons
Mistakes.
Banner image
Network
Networks.
ls: List of all networks
connect: Add a container to the network
build
Basics
Clearly state Dockerfile
Reference
Images
images: List of images
pull: Download the image
Download a specific version of the image
Image repository hub.docker.com
save: Keep the image in the archive
load: Download image from archive
tag: Put the right image in.
push: Publication of images
Delete the image
Delete all images
run
Basics
-d: detached mode
--namename
-p: Port forwarding
-v: Volume
Internal commands
--rm: Clean up after you.
All available options
exec
nuance
Enter the working container
Dockerfile
Its name.
FROM
LABEL
RUN
COPY
ENTRYPOINT
WORKDIR
EXPOSE
ENV
VOLUME
CMD
Examples
Examples of containers
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
compose
Installation
Check the version.
The simplest structure of the project
build
up
down
Reassemble only one container.
Articles about Docker
How to work with Docker through Portainer

Article author: Andrei Olegovich

Articles:
Docker
Installation in Linux and Windows
Basics
build: Creating containers + examples
run: Container run options
Dockerfile
Stop/remove all containers
exec: run a command in a container
Installing docker compose in Linux
Video tutorials
Errors
Make

Search this site

Subscribe to Telegram channel @aofeed to follow new articles and updates to old ones

Go to channel

@aofeed

Ask a question in the Telegram group

@aofeedchat

Contacts and cooperation:
I recommend our hosting beget.com
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: