/dockerfiles

Various Dockerfiles.

Primary LanguageDockerfileMIT LicenseMIT

This repository holds various Dockerfiles for images I create. Some of them are GUI Apps. (Yes, that's right !)

Requirements

Some of the dockerfiles may use the ARG keyword. Hence, docker 1.9+ is required.

Build your own images

All the images are available here. Feel free to pull them! ex:

$ docker pull mrorgues/slack

You don't want to use them? No problem! Feel free to build your own images!

(Optional) Run the following command lines:

The following command lines allow you to activate a user namespace. More information here: https://success.docker.com/KBase/Introduction_to_User_Namespaces_in_Docker_Engine

$ sudo systemctl stop docker
$ echo $USER":1000:1" | sudo tee -a /etc/subuid /etc/subgid
$ cat <<EOF | sudo tee -a /etc/docker/daemon.json
{                             
        "userns-remap": $USER
}  
EOF
$ sudo systemctl start docker
Run the following command lines:
$ git clone https://github.com/mrorgues/dockerfiles.git && cd dockerfiles/<PROJECT>
$ docker login
$ docker build --no-cache -f Dockerfile -t <DOCKER_HUB_REPO>/<PROJECT> .
$ # Or
$ docker build --no-cache --build-arg MY_VAR=my_value -f Dockerfile -t <DOCKER_HUB_REPO>/<PROJECT> .
$ docker push <DOCKER_HUB_REPO>/<PROJECT>

More information

Please find more information here: http://wiki.ros.org/docker/Tutorials/GUI