Skip to content

Instantly share code, notes, and snippets.

@flyingluscas
Last active August 1, 2022 23:22
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyingluscas/5251e64a99282f19af98e9dd835cd360 to your computer and use it in GitHub Desktop.
Save flyingluscas/5251e64a99282f19af98e9dd835cd360 to your computer and use it in GitHub Desktop.
Setting Up Docker

Setting Up Docker

1. Installing Docker

$ curl -sSL https://get.docker.com/ | sh
$ sudo usermod -aG docker $USER

Restart your system.

2. Installing Docker-Compose

$ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
Testing Installation
$ docker version
$ docker-compose --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment