Skip to content

Instantly share code, notes, and snippets.

@bobvanluijt
Last active July 6, 2024 13:28
Show Gist options
  • Save bobvanluijt/04f6d97916244a7de59fead84ef63cd4 to your computer and use it in GitHub Desktop.
Save bobvanluijt/04f6d97916244a7de59fead84ef63cd4 to your computer and use it in GitHub Desktop.
Install Docker on Ubuntu (and Weaviate clone)
sudo apt-get update && \
sudo apt-get -qq -y install \
apt-transport-https \
ca-certificates \
curl \
git \
jq \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
sudo apt-get update && \
sudo apt-get -qq -y install docker-ce && \
sudo curl -L https://github.com/docker/compose/releases/download/v2.28.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && \
sudo chmod +x /usr/local/bin/docker-compose && \
sudo usermod -aG docker $USER && \
sudo docker run hello-world && \
echo "done; exit terminal"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment