I was using docker inside an LXC Container, I was able to run docker daemon with no worries.
But my only concern is while Starting the docker container. I am getting the below logs:
Mar 18 09:06:58 ip-172-31-12-36.ca-central-1.compute.internal dockerd-current[464]: time=“2019-03-18T09:06:58.011735043Z” level=warning msg=“error locating sandbox id 52ccf9f40dc88425591db683bc480cb68f9d5e4a9bc3be1c270058a1cc1ff860: sandbox 52ccf9f40dc88425591db683bc480cb68f9d5e4a9bc3be1c270058a1cc1ff860 not found”
Mar 18 09:06:58 ip-172-31-12-36.ca-central-1.compute.internal dockerd-current[464]: time=“2019-03-18T09:06:58.011786550Z” level=warning msg=“failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/f3948a52d3682d0a2f5895b1d668f508967b24f7b841d21fbdd9bafe6f2cb917/shm: invalid argument”
Mar 18 09:06:58 ip-172-31-12-36.ca-central-1.compute.internal dockerd-current[464]: time=“2019-03-18T09:06:58.011815460Z” level=warning msg=“f3948a52d3682d0a2f5895b1d668f508967b24f7b841d21fbdd9bafe6f2cb917 cleanup: failed to unmount secrets: invalid argument”
Mar 18 09:06:58 ip-172-31-12-36.ca-central-1.compute.internal dockerd-current[464]: time=“2019-03-18T09:06:58.011834744Z” level=error msg=“Handler for POST /v1.26/containers/rajportainer/start returned error: error creating overlay mount to /var/lib/docker/overlay2/521668ddaec1b4410aa9e64214d0a6bafc137fa2fdb7ca176f0356a3ee32dd1c/merged: invalid argument”