52 private links
Sous le coude une image docker qui a plusieurs version d'installer pour un soft python sous plusieurs versions du binaire.
Si j'en ai besoin je m'en inspirait selon la distrib final qui sera utilisée.
Commencez par placer le "marqueur" dans le Dockerfile: ARG NOCACHE=0
Selon la commande set cette variable:
Pour docker: docker build --build-arg NOCACHE=$(date +%s)
Pour docker-compose: NOCACHE=$(date +%s) docker-compose up --build
Source: https://github.com/moby/moby/issues/1996
Plus précisément : https://github.com/moby/moby/issues/1996#issuecomment-465230472 .
EDIT: Il faut penser a rajouter ce qu'il faut dans le docker-compose pour que la commande docker-compose soit fonctionelle:
build:
context: <image_name>
args:
NOCACHE: "${NOCACHE}"
Intérressant, sous le coude ça peut toujours servir.
GitHub - Overv/openstreetmap-tile-server: Docker file for a minimal effort OpenStreetMap tile server
Bon ok c'est du docker mais au moins ça peut toujours dépanner !
URL monitor plugin for cachethq.io
Your self-hosted, globally interconnected microblogging community https://joinmastodon.org
Cameradar hacks its way into RTSP videosurveillance cameras
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems https://mobyproject.org/
Get control of your servers. Simple. Effective. Awesome! https://my-netdata.io/
My personal hacklab, create your own.
Permet de plus "facilement" jouer avec docker
I did some research and I found the answer, I was able to fix the issue by using the overlay2 as storage driver, I followed the below link for that: https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/
Below step I took to fix the issue: Stop Docker.
$ sudo systemctl stop docker Copy the contents of /var/lib/docker to a temporary location.
$ cp -au /var/lib/docker /var/lib/docker.bk
Edit /etc/docker/daemon.json. If it does not yet exist, create it. Assuming that the file was empty, add the following contents.
{ "storage-driver": "overlay2" }
Start Docker.
$ sudo systemctl start docker
Verify that the daemon is using the overlay/overlay2 storage driver. $ sudo docker info
After this I was able to run docker container on my "16.04.2 LTS (Xenial Xerus)" sudo docker run -dit ubuntu
Docker CE
For Docker CE, only some configurations are tested, and your operating system’s kernel may not support every storage driver. In general, the following configurations work on recent versions of the Linux distribution:
Linux distribution Supported storage drivers Docker CE on Ubuntu aufs, devicemapper, overlay2 (Ubuntu 14.04.4 or later, 16.04 or later), overlay, zfs
Tutoriel pour le déploiment d'un serveur DNS autoritaire avec NSD/DNSSEC via docker...