Skip to content

Instantly share code, notes, and snippets.

@jmada
Last active December 9, 2022 13:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmada/a55da33ce3f49a879d0a0d0285f687a0 to your computer and use it in GitHub Desktop.
Save jmada/a55da33ce3f49a879d0a0d0285f687a0 to your computer and use it in GitHub Desktop.
Docker: Add Insecure Registry to Docker in Linux Mint

Insecure Registry in Docker

Add Insecure Registry to Docker in Linux Mint

Guide

Add a file /etc/docker/daemon.json with following content

{
    "insecure-registries" : [ "myinsecureregistry.cloudapp.net:9000" ]
}

And then restart docker

$ sudo systemctl daemon-reload
$ sudo systemctl restart docker

After that insecure registry myinsecureregistry.cloudapp.net:9000 works.

@PePTojr
Copy link

PePTojr commented Dec 9, 2022

HI ubunto 20, doesnt works......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment