Skip to content

Instantly share code, notes, and snippets.

@phelewski
Created May 12, 2020 14:48
Show Gist options
  • Save phelewski/5181c513ffb9c6e94f775bc1c897abeb to your computer and use it in GitHub Desktop.
Save phelewski/5181c513ffb9c6e94f775bc1c897abeb to your computer and use it in GitHub Desktop.
Visual Studios Code Remote - Container Blog | Install Docker CLI
RUN apt-get install -y apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
lsb-release \
&& curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - 2>/dev/null \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" \
&& apt-get update \
&& apt-get install -y docker-ce-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment