Hello.I have only 1gb left on my device and i need to export my 4gb docker container.
(I am going to do that by the commands docker save and docker load).How can i do that ?
I tried to change the root directory (for the docker save command) by the command:
sudo dockerd -g /mnt/path/to/docker/dir , but for some reason i couldnt do that.Even with sudo permission was denied.
How can i solve the “operaion not permitted” error ?
Besides this, this operaiton destroyed my docker structure, and now i cant use dockers anymore:
atlas@atlas-desktop:~$ sudo service docker run
Usage: service docker {start|stop|restart|status}
atlas@atlas-desktop:~$ sudo docker images -a
Cannot connect to the Docker daemon at
atlas@atlas-desktop:~$ cd /home/atlas/jetson-inference
atlas@atlas-desktop:~/jetson-inference$ docker/run.sh -c trtpose2 —volume /home/atlas/Desktop/Jupiter1:/home/atlas/jetson-inference
ARCH: aarch64
reading L4T version from /etc/nv_tegra_release
L4T BSP Version: L4T R32.7.4
localuser:root being added to access control list
CONTAINER_IMAGE: trtpose2
DATA_VOLUME: —volume /home/atlas/jetson-inference/data:/jetson-inference/data —volume /home/atlas/jetson-inference/python/training/classification/data:/jetson-inference/python/training/classification/data —volume /home/atlas/jetson-inference/python/training/classification/models:/jetson-inference/python/training/classification/models —volume /home/atlas/jetson-inference/python/training/detection/ssd/data:/jetson-inference/python/training/detection/ssd/data —volume /home/atlas/jetson-inference/python/training/detection/ssd/models:/jetson-inference/python/training/detection/ssd/models —volume /home/atlas/jetson-inference/python/www/recognizer/data:/jetson-inference/python/www/recognizer/data
USER_VOLUME: —volume /home/atlas/Desktop/Jupiter1:/home/atlas/jetson-inference
DISPLAY_DEVICE: -e DISPLAY=:0 -v /tmp/.X11-unix/:/tmp/.X11-unix
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See ‘docker run —help’.
Hello.Yes, it works. I used backup to fix broken docker structure.So, i dont have any problems (except the permission error) with the work of the docker.
But i still need to docker save container directly on the external drive (because i dont have enough space to save it on my device).And, unfortunatelly, i still cant do this, because of, permission error: