Code Snippet

Just another Code Snippet site

Docker

[Docker] Define a proxy

A quick outline: First, create a systemd drop-in directory for the docker service: Now create a file called /etc/systemd/system/docker.service.d/http-proxy.conf that adds the HTTP_PROXY environment variable: If you have internal Docker registries that you need to contact without proxying you can specify them via the NO_PROXY environment variable: Flush changes: Verify that the configuration has been […]

Increasing the Base Device Size on Docker Daemon Restart 

Sometime back I wrote a feature for docker to allow expanding Base device size on daemon restart. This feature has been included in Docker 1.10, so you can try it out now.Before we jump further into this article, I would like to point out that this feature is only available for devicemapper storage and does […]

Next posts