Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 430 Bytes

BUILD-docker-ubuntu.md

File metadata and controls

14 lines (14 loc) · 430 Bytes

Prerequisites

# docker permissions
    sudo groupadd docker
    sudo usermod -aG docker ${USER}
    sudo chown "$USER":"$USER" /home/"$USER"/.docker -R
    sudo chmod g+rwx "$HOME/.docker" -R
    sudo chmod 666 /var/run/docker.sock
    docker run hello-world
# build dockerfile
sudo docker build --progress=plain --build-arg UID=$(id -u) -t clion/ubuntu/cpp-env:1.0 -f Dockerfile.cpp-env-ubuntu .