lem
lem copied to clipboard
Docker container issues
I have two problems with using a docker container as follows:
Problem n°1
$ docker build -t lem .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Problem n°2
When I try to save a file to /shared I get permission denied. I tried starting it up in /tmp and got the same error. (/tmp is 777).
The second problem is fixed by running: docker run --rm -it --privileged -v .:/shared lem
Seems neither are related to Lem, but:
-
docker buildx build -t lem .(assuming you're on docker 19.03 or higher, otherwise follow the link for install instructions) -
As you said, it's a permissions issue. Could also be SELinux, try running with
--security-opt label=disable
I can try to spend some time on the Docker setup & integrating ghcr soon :smile: