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

21 lines
667 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