Tag Archives: docker

Change default storage location of docker containers on Ubuntu 18.04 and 18.10

This was tested on Docker version 18.09.4, build d14af54266, it includes ALL docker data. Just edit/create a file inside /etc/docker named daemon.json and add the following: { “data-root”: “/new_location”} then simply restart docker: sudo service docker restart Source: https://docs.docker.com/engine/reference/commandline/dockerd/

Posted in docker | Tagged , , , , | Leave a comment

Cleanup Docker Trash

Over time, docker images and residual unneeded files pile up and take a lot of space. We need to cleanup the following: stopped containers networks not used by at least one container dangling images build cache To do that, just … Continue reading

Posted in docker, Linux | Tagged , , , | Leave a comment

What to do if docker on Ubuntu doesn’t recognize addition of a user to its group when using PBIS with AD

You add a user to group docker so that you can run docker commands without having to be root or a sudoer. On an Ubuntu 16.04 server which authenticates against AD using PBIS, I added users to group docker, but … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , , | Leave a comment