Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.2 KB

README.rst

File metadata and controls

54 lines (35 loc) · 1.2 KB

Off Your Rocker

This adds extensions for tfoote/rocker.

Extensions

Mount

This mounts paths as docker volumes. The path used inside the container is the same as the path outside the container. Multiple paths may be passed. The last path must be terminated with two slashes -- before the image name.

rocker --oyr-mount ~/.vimrc ~/.bashrc -- ubuntu:18.04

Colcon

This adds colcon to the docker image.

rocker --oyr-colcon ubuntu:18.04

Spacenav

This adds support for a 3Dconnexion SpaceNavigator and allows the docker container to use it.

rocker --oyr-spacenav ubuntu:18.04

Capabilities

Two plugins add support for adding or droping runtime linux capabilities. For more information see [docker run --cap-add and --cap-drop documentation](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities).

rocker --oyr-cap-add SYS_PTRACE --ory-cap-drop ALL ubuntu:18.04

Docker Run args

This allows adding arbitray arguments to docker run.

rocker --oyr-run-arg " --label foo=bar" ubuntu:18.04