selfhosted-apps-docker/docker-basics-and-troubleshoot/readme.md

23 lines
841 B
Markdown
Raw Normal View History

2021-12-31 00:35:58 +00:00
# Docker basics and troubleshooting
###### guide-by-example
2022-01-09 02:08:29 +00:00
![logo](https://i.imgur.com/6SIoRWX.png)
2021-12-31 00:35:58 +00:00
2022-01-09 02:08:29 +00:00
# Overview
2021-12-31 00:35:58 +00:00
2022-01-09 12:26:09 +00:00
**Docker** is a container technology that uses the hosts kernel while putting the userland applications into a sandbox.
It is much more lightweight than a full-fledged virtual machine, but can only run stuff that can run on host.
2021-12-31 00:35:58 +00:00
2022-01-09 12:26:09 +00:00
**Compose** is a Docker tool that allows defining containers using a YAML file and run them with a single command.
2021-12-31 00:35:58 +00:00
2022-01-09 02:08:29 +00:00
The purpose of docker and docker-compose is either development or deployment.<br>
Most of the stuff around here is about deployment, how to deploy others people work<br>
2021-12-31 00:35:58 +00:00
2022-01-09 02:08:29 +00:00
# Basics
2021-12-31 00:35:58 +00:00
2023-02-12 18:45:01 +00:00
tag - not just version number, tags are not even present on local docker..
2023-03-05 09:50:50 +00:00
ports quotes - always in quotes because in low number it might try to interpret ports as base 60