Tag Archives: docker

Docker file & compose for phpBB3

I needed a local instance to play around with phpBB, which I couldn’t find recent docker files for, so I just created my own. The below are the docker-compose.yml and Dockerfile for the latest version of phpBB as of now; … Continue reading

Posted in docker, Linux | Tagged , , , , , | 2 Comments

How to mount a Windows share inside a Docker container

Let’s assume that you had a windows share and you needed to be able to access that share from within one of your containers, here are the steps that you need to follow: First of all, create a docker volume … Continue reading

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

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