Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 974 Bytes

_insecure-registry-linux.md

File metadata and controls

37 lines (23 loc) · 974 Bytes

Prerequisites

  • Podman is installed.

Procedure

  1. Add your insecure registry within Settings > Registries.

    Adding a custom registry

  2. Click "Yes" to the insecure registry warning.

    Podman Desktop Registry Warning

  3. Open registries.conf.

    $ sudo vi /etc/containers/registries.conf
    
  4. Add the insecure registry: Add a new [[registry]] section for the URL of the insecure registry you want to use. For example, if your insecure registry is located at http://registry.example.com, add the following lines:

    [[registry]]
    location = "registry.example.com"
    insecure = true

    If you have multiple registries, you can add one [[registry]] block per registry:

  5. Save and exit the file.

  6. Restart Podman.

    $ sudo systemctl restart podman