X11docker: --share <host_path>:<container_path>[:ro]

Created on 21 Oct 2020  路  2Comments  路  Source: mviereck/x11docker

The current --share option only allows to share a file/directory at the same location as the host.
In my case, I want to share a host directory/docker volume at a specific place in the container, and can't find a way to do it.

I'm proposing that the --share option should work similar to -v for docker.
Either that, or maybe there could be another option that would allow to pass extra args to docker directly.

question

Most helpful comment

You can pass extra args directly. See: https://github.com/mviereck/x11docker#terminal-usage

x11docker [OPTIONS] -- DOCKER_RUN_OPTIONS -- IMAGE [COMMAND [ARG1 ARG2 ...]]

All 2 comments

You can pass extra args directly. See: https://github.com/mviereck/x11docker#terminal-usage

x11docker [OPTIONS] -- DOCKER_RUN_OPTIONS -- IMAGE [COMMAND [ARG1 ARG2 ...]]

Oh, I must've missed that. Thank you!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eine picture eine  路  5Comments

mviereck picture mviereck  路  6Comments

sandrokeil picture sandrokeil  路  8Comments

hrjakobsen picture hrjakobsen  路  4Comments

sotnikov-link picture sotnikov-link  路  3Comments