Tag Archives: docker

A simple command to show Docker volume/bind mounts

A quick command to show you mounts and volume mappings in your docker container: Sample response: That’s it, Enjoy!

Posted in docker | Tagged | Leave a comment

Build & Run LibreTranslate Docker Image for Offline Work

The documentation on https://hub.docker.com/r/libretranslate/libretranslate was a bit misleading, so here are the proper steps: Building The above will take some time to build and download all the dictionaries for offline use. Running That’s it, Enjoy! Sources

Posted in docker | Tagged , | Leave a comment

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