Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Get up and running quick and effortlessly
note: if you are using --userns-remap this will not work for you,
alternatively you can run a separate docker daemon without if you
need to retain that functionality and want to to use this.
For more info:
https://docs.docker.com/engine/reference/commandline/dockerd/#run-multiple-daemons
❯ docker build -t follow -t follow:latest .
❯ xhost local:root
❯ docker run -it --rm --userns host --network host follow:latest
Dockerfile/.dockerignore for building and running a dev env (works
with X11.) There certainly probably are better ways to to export
a uid/gid to the container than to map the host ids, but it seems
to be the most intuitive given that xhost is required to allow
the container application to connect to X11; in the case of userns
host it will be container uid 0 -> uid 0 host but feel free to use
this at your own discretion to say the least it will help some
people who don't have a node/npm that's worth messing with installed
on their local machine to use this as well.
update to Dockerfile, use non-root user for operation in userns host mode
fix chown to use /home/iohzrd
fix data persistence volume and homedir/path/permission issue to agree with electron