Hello,
I've currenty setup another proxmox instance, which has some special needs.
Since we have heterogenous systems (existing containers) and new docker(-compose) based solutions we try to get them all on one system. Therefore i installed a fresh proxmox system. The second step was to install docker on the proxmox system based on this guide. After install docker-engine docker failed instantly:
There seem multiple problems: the main problem seems to be the network:
Currently the network interfaces looks like this:
Based on this guide i will create a network for the container, but i have no idea if that fixes the docker network problem. Also my question is if it is possible to access the docker container from an lxc container with this config.
The second error message seems to be that "overlay" (i assume overlayFS) is not supported by this kernel. Is it possible to enable this module (e.g. by compiling the module by my self?)
I've currenty setup another proxmox instance, which has some special needs.
Since we have heterogenous systems (existing containers) and new docker(-compose) based solutions we try to get them all on one system. Therefore i installed a fresh proxmox system. The second step was to install docker on the proxmox system based on this guide. After install docker-engine docker failed instantly:
Code:
Mar 02 07:21:41 stayyadev systemd[1]: Starting Docker Application Container Engine...
Mar 02 07:21:41 stayyadev dockerd[3322]: time="2017-03-02T07:21:41.755076194+01:00" level=info msg="libcontainerd: new containerd process, pid: 3332"
Mar 02 07:21:42 stayyadev dockerd[3322]: time="2017-03-02T07:21:42.844918639+01:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded."
Mar 02 07:21:42 stayyadev dockerd[3322]: time="2017-03-02T07:21:42.846549977+01:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded."
Mar 02 07:21:42 stayyadev dockerd[3322]: time="2017-03-02T07:21:42.863674211+01:00" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section."
Mar 02 07:21:42 stayyadev dockerd[3322]: time="2017-03-02T07:21:42.890755884+01:00" level=warning msg="devmapper: XFS is not supported in your system. Either the kernel doesn't support it or mkfs.xfs is not in your PATH. Defaulting to ext4 filesystem"
Mar 02 07:21:42 stayyadev dockerd[3322]: time="2017-03-02T07:21:42.891803849+01:00" level=info msg="devmapper: Creating filesystem ext4 on device docker-251:0-1839095-base"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.379921976+01:00" level=info msg="devmapper: Successfully created filesystem ext4 on device docker-251:0-1839095-base"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.470874750+01:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.471166621+01:00" level=warning msg="Your kernel does not support cgroup rt period"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.471188025+01:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.471689218+01:00" level=info msg="Loading containers: start."
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.473828208+01:00" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: ERROR: could not insert 'nf_nat': Exec format error\ninsmod /lib/modules/4.4.35-1-pve/kernel/net/netfilter/nf_conntrack.ko`, error: exit status 1"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.475380551+01:00" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: ERROR: could not insert 'xt_conntrack': Exec format error\ninsmod /lib/modules/4.4.35-1-pve/kernel/net/netfilter/nf_conntrack.ko`, error: exit status 1"
Mar 02 07:21:45 stayyadev dockerd[3322]: time="2017-03-02T07:21:45.478151877+01:00" level=info msg="Firewalld running: false"
Mar 02 07:21:45 stayyadev dockerd[3322]: Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Mar 02 07:21:45 stayyadev dockerd[3322]: Perhaps iptables or your kernel needs to be upgraded.
Mar 02 07:21:45 stayyadev dockerd[3322]: (exit status 3)
Mar 02 07:21:45 stayyadev systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Mar 02 07:21:45 stayyadev systemd[1]: Failed to start Docker Application Container Engine.
Mar 02 07:21:45 stayyadev systemd[1]: Unit docker.service entered failed state.
Mar 02 07:21:45 stayyadev systemd[1]: [/lib/systemd/system/docker.service:24] Unknown lvalue 'Delegate' in section 'Service'
There seem multiple problems: the main problem seems to be the network:
Currently the network interfaces looks like this:
Code:
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address x.x.x.x
netmask 255.255.255.0
gateway x.x.x.x
bridge_ports eth0
bridge_stp off
bridge_fd 0
Based on this guide i will create a network for the container, but i have no idea if that fixes the docker network problem. Also my question is if it is possible to access the docker container from an lxc container with this config.
The second error message seems to be that "overlay" (i assume overlayFS) is not supported by this kernel. Is it possible to enable this module (e.g. by compiling the module by my self?)