---
# System prepended metadata

title: Introduction to Docker
tags: [docker]

---

---
tags: docker
---

# Introduction to Docker

## Installing Docker

### Ubuntu

Update your software database:
```
sudo apt update
```

Remove any old versions of docker that might be on your system:
```
sudo apt remove docker docker-engine docker.io
```

Install docker:
```
sudo apt install docker.io
```

Check docker version:
```
docker --version
```
### Windows and Mac

Docker requires a Linux kernel in order to run. This can be emulated on Windows and Mac. The easiest way to do this is to install [Docker Desktop](https://docs.docker.com/get-docker/). You will need to have Docker Desktop running in order to use docker commands in your terminal.
