May 2018
Intermediate to advanced
554 pages
13h 51m
English
Finally, regarding the HTTP basic authentication file, if you set up a private registry, authentication is needed when you interact with the Docker registry. You'll have to do docker login to get a token when pushing and pulling images. In order to create an HTTP basic authentication file, use the htpasswd command that is provided by Apache2 as this is easiest. Let's create a HTTP basic authentication file via the following steps:
//set user=user01, passwd=my-super-secure-password$ docker run -i httpd /bin/bash ...