Created
June 7, 2019 15:10
-
-
Save tomaszklim/43c7beda7dc8d1d0b0046110179038ec to your computer and use it in GitHub Desktop.
Install Docker stack on Ubuntu 18.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt install apt-transport-https ca-certificates curl software-properties-common | |
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" >/etc/apt/sources.list.d/docker.list | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg |apt-key add - | |
apt update | |
apt install docker-ce python-pip | |
pip install docker-compose | |
getent passwd circleci && usermod -aG docker circleci | |
getent passwd jenkins && usermod -aG docker jenkins | |
getent passwd hudson && usermod -aG docker hudson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment