bumper
bumper copied to clipboard
Installation failed (Docker image)
I tried to install Docker on an Ubuntu 18.04 LXC Container running in Proxmox.
I installed docker using this How-To: https://www.digitalocean.com/community/tutorials/so-installieren-und-verwenden-sie-docker-auf-ubuntu-18-04-de
After installing Docker I followed the instructions in https://bumper.readthedocs.io/en/latest/Docker/ but was not able to run a Container with the Docker image.
When entering the followin command as root user:
docker run -it -e "BUMPER_ANNOUNCE_IP=192.168.178.102" -p 443:443 -p 8007:8007 -p 8883:8883 -p 5223:5223 -v /home/user/bumper/data:/bumper/data --name bumper bmartin5692/bumper
I get the following Error message:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"proc\\\" to rootfs \\\"/var/lib/docker/overlay2/6429b386f1931f390cae4bae6e9651defcdbb1e3cbbbdb1062be7756dc2981b7/merged\\\" at \\\"/proc\\\" caused \\\"permission denied\\\"\"": unknown.
Can you please help?
Hi there, i had this problem before, you cant run Ubuntu as a LXC container.... and then run docker on it. You need to install Ubuntu as a VM not as LXC container. Then you can install docker on the VM and it will work fine.
There is a way to get docker to work on LXC containers but installing on a VM is way easier and less stressful
https://forum.proxmox.com/threads/docker-in-lxc-container.45204/