Skip to content

Instantly share code, notes, and snippets.

@dayyass
Last active July 19, 2021 10:06
Show Gist options
  • Save dayyass/6eea94a90978a944f63da0aa6ff1c545 to your computer and use it in GitHub Desktop.
Save dayyass/6eea94a90978a944f63da0aa6ff1c545 to your computer and use it in GitHub Desktop.
jupyter-cuda10.1-tf2.2.0-docker-mlspace
FROM cr.msk.sbercloud.ru/aicloud-jupyter/jupyter-cuda10.1-tf2.2.0-mlspace:latest
MAINTAINER Dani El-Ayyass <[email protected]>
USER root
# Docker
# Set up the repository
RUN apt-get update
RUN apt-get -y install apt-transport-https ca-certificates curl gnupg lsb-release
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
RUN echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# Install Docker Engine
RUN apt-get update
RUN apt-get -y install docker-ce docker-ce-cli containerd.io
# Add user to the docker group
RUN usermod -aG docker jovyan
# Run Docker Engine
RUN dockerd
USER jovyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment