Hi
I created a privileged ubuntu container just for jellyfin, in order to be able to pass through my GPU for HW acceleration. Worked good.
Today I realized that the disk got full because of /var/lib/docker, so I thought of mounting /var/lib/docker to an external hard drive.
In order not to loose that folder I first added a new 2nd disk to the container to have more space, then I stopped the running containers, the service, and copied all of /var/lib/docker to that new disk, lets call it the backuo.
I then removed /var/lib/docker & shut the container down.
Then I added a new mount point to the containers conf file:
mp2: /mnt/Files/appdata/docker_jelly,mp=/var/lib/docker,acl=1,shared=1,
After starting the container I saw that now /var/lib/docker was full of stuff again, not sure why I guess that rebooting started the service again, so I again stopped containers+service, deleted the content of that folder, and then copied the backup back to /var/lib/docker
Ever since I can't start docker, also after restarting.
My Container:
4 Cores 4 gigs ram
Privileged
Options: NFS, FUSE, nesting
Not sure how to solve this
thanks
I created a privileged ubuntu container just for jellyfin, in order to be able to pass through my GPU for HW acceleration. Worked good.
Today I realized that the disk got full because of /var/lib/docker, so I thought of mounting /var/lib/docker to an external hard drive.
In order not to loose that folder I first added a new 2nd disk to the container to have more space, then I stopped the running containers, the service, and copied all of /var/lib/docker to that new disk, lets call it the backuo.
I then removed /var/lib/docker & shut the container down.
Then I added a new mount point to the containers conf file:
mp2: /mnt/Files/appdata/docker_jelly,mp=/var/lib/docker,acl=1,shared=1,
After starting the container I saw that now /var/lib/docker was full of stuff again, not sure why I guess that rebooting started the service again, so I again stopped containers+service, deleted the content of that folder, and then copied the backup back to /var/lib/docker
Ever since I can't start docker, also after restarting.
Bash:
root@jellyfin:/# systemctl start docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
Bash:
root@jellyfin:/# systemctl status docker.service
× docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-07-08 21:29:48 UTC; 29s ago
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Process: 350 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exit>
Main PID: 350 (code=exited, status=1/FAILURE)
CPU: 51ms
Jul 08 21:29:48 jellyfin systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Jul 08 21:29:48 jellyfin systemd[1]: Stopped Docker Application Container Engine.
Jul 08 21:29:48 jellyfin systemd[1]: docker.service: Start request repeated too quickly.
Jul 08 21:29:48 jellyfin systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 08 21:29:48 jellyfin systemd[1]: Failed to start Docker Application Container Engine.
Bash:
root@jellyfin:/# systemctl status docker.service
× docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-07-08 21:29:48 UTC; 29s ago
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Process: 350 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exit>
Main PID: 350 (code=exited, status=1/FAILURE)
CPU: 51ms
Jul 08 21:29:48 jellyfin systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Jul 08 21:29:48 jellyfin systemd[1]: Stopped Docker Application Container Engine.
Jul 08 21:29:48 jellyfin systemd[1]: docker.service: Start request repeated too quickly.
Jul 08 21:29:48 jellyfin systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 08 21:29:48 jellyfin systemd[1]: Failed to start Docker Application Container Engine.
...skipping...
× docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-07-08 21:29:48 UTC; 29s ago
root@jellyfin:/# journalctl -xeu docker.service
Jul 08 21:30:58 jellyfin dockerd[383]: time="2022-07-08T21:30:58.085573528Z" level=info msg="ccResolverWrapp>
Jul 08 21:30:58 jellyfin dockerd[383]: time="2022-07-08T21:30:58.085643594Z" level=info msg="ClientConn swit>
Jul 08 21:30:58 jellyfin dockerd[383]: time="2022-07-08T21:30:58.090005660Z" level=error msg="failed to moun>
Jul 08 21:30:58 jellyfin dockerd[383]: time="2022-07-08T21:30:58.090043320Z" level=error msg="[graphdriver] >
Jul 08 21:30:58 jellyfin dockerd[383]: failed to start daemon: error initializing graphdriver: driver not su>
Jul 08 21:30:58 jellyfin systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit docker.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 08 21:30:58 jellyfin systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Jul 08 21:30:58 jellyfin systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 803 and the job result is failed.
My Container:
4 Cores 4 gigs ram
Privileged
Options: NFS, FUSE, nesting
Not sure how to solve this
thanks
Last edited: