Related
Join the DigitalOcean CommunityPastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time. I can run a full Arch system (with systemd as PID 1) in a Docker container in Docker privileged mode: sudo docker run -i -t -privileged archlinux /usr/lib/systemd/systemd but privileged mode is, well, a bit privileged. I used to have an old version of docker on my Ubuntu Server 19.10 and it worked just fine. I have removed this old docker install and tried to install the most current version using the guide on ht.
Canon eos info 1.2. Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Question
I recently had a case where the /
partition was running very low on disk space, but I also had an additional disk mounted at /home/
with plenty of disk space.
However as by default Docker stores everything at /var/lib/docker
my /
partition was nearly full.
To fix that I moved the default /var/lib/docker
to another directory on the /home
partition.
In case that you are in the same situation, here is how to do that on a Linux server!
Vi /usr/lib/systemd/system/docker.service
Related
Join the DigitalOcean CommunityJoin 1M+ other developers and: Smbx 1. 4. 4.
Docker /usr/lib/systemd Login
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.