buildah: Commit to private docker registry: connection refused
Description
When buildah push an error occurs in the end, though the image has been pushed to the private registry. Why does it happen? Is anything wrong? No error output from the docker registry.
The certificate for the registry used is not self-signed!
Steps to reproduce the issue:
- buildah push --creds=username:passwd $name docker://hub.xxxxx.com:5000/$name
Describe the results you received: I didn’t expect any connection refused.
Describe the results you expected: No error.
Output of rpm -q buildah
or apt list buildah
:
buildah-1.0-1.git1ab80bc.fc28.x86_64
Complete!
Getting image source signatures
Copying blob sha256:199dbc3127dde5e6a0e6b30a3bdd008a6ea79ae9b44dbdf8669655be0665f927
47.78 MiB / 47.78 MiB [====================================================] 2s
Copying config sha256:3d6645f9adcd1e30cb61a96d12a257400e69c0a9e5d47d99dfa960d3ba60067c
1.04 KiB / 1.04 KiB [======================================================] 0s
Writing manifest to image destination
Storing signatures
3d6645f9adcd1e30cb61a96d12a257400e69c0a9e5d47d99dfa960d3ba60067c
Getting image source signatures
Get https://hub.xxxxx.com:5000/v2/: dial tcp vv.xx.yy.zz:5000: connect: connection refused
Output of buildah version
:
Version: 1.0
Go Version: go1.10.1
Image Spec: 1.0.0
Runtime Spec: 1.0.0
Git Commit: 1ab80bc
Built: Mon May 7 16:01:02 2018
OS/Arch: linux/amd64
Output of cat /etc/*release
:
Fedora release 28 (Twenty Eight)
NAME=Fedora
VERSION="28 (Workstation Edition)"
ID=fedora
VERSION_ID=28
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Workstation Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=28
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=28
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Fedora release 28 (Twenty Eight)
Fedora release 28 (Twenty Eight)
Output of uname -a
:
Linux localhost.localdomain 4.16.11-300.fc28.x86_64 #1 SMP Tue May 22 18:29:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Output of cat /etc/containers/storage.conf
:
# storage.conf is the configuration file for all tools
# that share the containers/storage libraries
# See man 5 containers-storage.conf for more information
# The "container storage" table contains all of the server options.
[storage]
# Default Storage Driver
driver = "overlay"
# Temporary storage location
runroot = "/var/run/containers/storage"
# Primary Read/Write location of container storage
graphroot = "/var/lib/containers/storage"
[storage.options]
# AdditionalImageStores is used to pass paths to additional Read/Only image stores
# Must be comma separated list.
additionalimagestores = [
]
# Size is used to set a maximum size of the container image. Only supported by
# certain container storage drivers.
size = ""
# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version
override_kernel_check = "true"
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (7 by maintainers)
@stefanand Do you recall by chance which version of Buildah you were on prior? v0.16 perhaps?