Mastodon Mastodon - Docker, http and TLS
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Docker, http and TLS

Docker, http and TLS

Posted on July 15, 2015  (Last modified on March 9, 2022) • 1 min read • 108 words
Docker  
Docker  
Share via
Link copied to clipboard

Today seems to be “annoyme-day”.

This error message with docker:

$ docker push myrepo.com:5000/name/image
Post http:///var/run/docker.sock/v1.19/images/myrepo.com:5000 \
   /name/image/push?tag=: read unix /var/run/docker.sock: \
   connection reset by peer. Are you trying to connect to \
   a TLS-enabled daemon without TLS?

… does not necessarily mean that we use http:// instead of https://.

It can also mean that the docker service is not running:

$ systemctl status docker.service
 ● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Wed 2015-07-15 17:16:48 CEST; 15s ago
     Docs: https://docs.docker.com
  Process: 48587 ExecStart=/usr/bin/docker td -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
 Main PID: 48587 (code=exited, status=1/FAILURE)

Took me 15 minutes.

 Puppet spec fixtures
Get SSL certificate from endpoint quickly 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Code copied to clipboard