Skip to content

podman farm build fails to push with a cryptic error #27587

@Firstyear

Description

@Firstyear

Issue Description

Using podman farm build it fails with a cryptic failure about why it can't push:

Error: build: building: 2 errors occurred:
	* pushing image {"HASH" "oci-archive"} to registry: Invalid image name "docker.io/firstyear/image:20251122@@unknown-digest@@", unknown transport "docker.io/firstyear/image"

I have spent about an hour searching for this error and what it means, reading all the podman farm build options, and nothing allows me to "specify a registry and it's transport.

Build command was:

Steps to reproduce the issue

podman farm build --farm linux --local=false -f ./Dockerfile \
		-t docker.io/firstyear/image:20251122 .

Describe the results you received

Unable to push an image, and unable to work out what it means.

Describe the results you expected

Actionable error messages that describe not only what went wrong, but why it went wrong, and what can be done to resolve it.

podman info output

Client:
  APIVersion: 5.6.2
  BuildOrigin: brew
  Built: 1759243846
  BuiltTime: Wed Oct  1 00:50:46 2025
  GitCommit: ""
  GoVersion: go1.25.1
  Os: darwin
  OsArch: darwin/arm64
  Version: 5.6.2
host:
  arch: arm64
  buildahVersion: 1.33.12
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - memory
  - hugetlb
  - pids
  - rdma
  - misc
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.1.10-150500.9.9.1.aarch64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.10, commit: unknown'
  cpuUtilization:
    idlePercent: 93.18
    systemPercent: 1.18
    userPercent: 5.64
  cpus: 8
  databaseBackend: sqlite
  distribution:
    distribution: sles
    version: "15.7"
  eventLogger: journald
  freeLocks: 2047
  hostname: sle15sp7-builder
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 6.4.0-150700.53.22-default
  linkmode: dynamic
  logDriver: journald
  memFree: 5396639744
  memTotal: 8316284928
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    dns:
      package: aardvark-dns-1.12.2-150500.3.12.1.aarch64
      path: /usr/lib/podman/aardvark-dns
      version: aardvark-dns 1.12.2
    package: netavark-1.12.2-150500.3.11.1.aarch64
    path: /usr/lib/podman/netavark
    version: netavark 1.12.2
  ociRuntime:
    name: runc
    package: runc-1.3.3-150000.85.1.aarch64
    path: /usr/bin/runc
    version: |-
      runc version 1.3.3
      commit: v1.3.3-0-gd842d7719497
      spec: 1.2.1
      go: go1.25.3
      libseccomp: 2.5.3
  os: linux
  pasta:
    executable: ""
    package: ""
    version: ""
  remoteSocket:
    exists: true
    path: /run/podman/podman.sock
  rootlessNetworkCmd: ""
  security:
    apparmorEnabled: true
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /etc/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: true
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.2.2-150600.1.5.aarch64
    version: |-
      slirp4netns version 1.2.2
      commit: 0ee2d87523e906518d34a6b423271e4826f71faf
      libslirp: 4.7.0
      SLIRP_CONFIG_VERSION_MAX: 5
      libseccomp: 2.5.3
  swapFree: 8315977728
  swapTotal: 8317300736
  uptime: 0h 29m 35.00s
  variant: v8
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries:
  search:
  - registry.suse.com
store:
  configFile: /etc/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    overlay.mountopt: nodev,metacopy=on
  graphRoot: /var/lib/containers/storage
  graphRootAllocated: 21407727616
  graphRootUsed: 4515278848
  graphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Supports shifting: "true"
    Supports volatile: "true"
    Using metacopy: "true"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 20
  runRoot: /run/containers/storage
  transientStore: false
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 4.9.5
  Built: 1762344000
  BuiltTime: Wed Nov  5 22:00:00 2025
  GitCommit: ""
  GoVersion: go1.25.3
  Os: linux
  OsArch: linux/arm64
  Version: 4.9.5

Podman in a container

No

Privileged Or Rootless

Privileged

Upstream Latest Release

No

Additional environment details

podman farm is coordinated from a macos install.

# podman version
Client:        Podman Engine
Version:       5.6.2
API Version:   5.6.2
Go Version:    go1.25.1
Built:         Wed Oct  1 00:50:46 2025
Build Origin:  brew
OS/Arch:       darwin/arm64

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.macosMacOS (OSX) relatedremoteProblem is in podman-remote

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions