Sample Header Ad - 728x90

Podman: cannot load TOML value of type map

1 vote
1 answer
3031 views
I need to fetch this image for podman but there is a problem on *registry.conf* podman gives error
podman run --name myfirstcontainer -it  -v /home/jhon:/data:Z manjarolinux/base
Error: error loading registries configuration "/etc/containers/registries.conf": toml: cannot load TOML value of type map[string]interface {} into a Go slice
my registry adjust
# [[registry.mirror]]
# location = "example-mirror-0.local/mirror-for-foo"
# [[registry.mirror]]
# location = "example-mirror-1.local/mirrors/foo"
# insecure = true
# # Given the above, a pull of example.com/foo/image:latest will try:
# # 1. example-mirror-0.local/mirror-for-foo/image:latest
# # 2. example-mirror-1.local/mirrors/foo/image:latest
# # 3. internal-registry-for-example.net/bar/image:latest
# # in order, and use the first one that exists.
#
[[registry.mirror]]
prefix ="docker.io"
location = "https://hub.docker.com/r/manjarolinux/base "
insecure =true
what is wrong
Asked by maxemilian (137 rep)
Jun 21, 2021, 08:52 AM
Last activity: Aug 25, 2021, 06:14 PM