Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose fails on Fedora 35 with podman #87

Open
dveeden opened this issue Dec 14, 2021 · 0 comments
Open

Docker compose fails on Fedora 35 with podman #87

dveeden opened this issue Dec 14, 2021 · 0 comments

Comments

@dveeden
Copy link

dveeden commented Dec 14, 2021

Description

When using podman and pulling an image with a short name it needs an TTY to ask for the registry to pull from. This fails with docker compose.

Troubleshooting

$ sudo docker-compose up
Pulling zookeeper (confluentinc/cp-zookeeper:7.0.1)...
ERROR: failed to resolve image name: short-name resolution enforced but cannot prompt without a TTY

This works after a sed -i 's#image: #image: docker.io/#g' docker-compose.yml that resulted in:

--- docker-compose.yml.1	2021-12-14 14:54:02.044197565 +0100
+++ docker-compose.yml	2021-12-14 14:52:57.079120280 +0100
@@ -5 +5 @@
-    image: confluentinc/cp-zookeeper:7.0.1
+    image: docker.io/confluentinc/cp-zookeeper:7.0.1
@@ -15 +15 @@
-    image: confluentinc/cp-kafka:7.0.1
+    image: docker.io/confluentinc/cp-kafka:7.0.1
@@ -37 +37 @@
-    image: confluentinc/cp-schema-registry:7.0.1
+    image: docker.io/confluentinc/cp-schema-registry:7.0.1
@@ -50 +50 @@
-    image: cnfldemos/kafka-connect-datagen:0.5.0-6.2.0
+    image: docker.io/cnfldemos/kafka-connect-datagen:0.5.0-6.2.0
@@ -77 +77 @@
-    image: confluentinc/cp-ksqldb-server:7.0.1
+    image: docker.io/confluentinc/cp-ksqldb-server:7.0.1
@@ -100 +100 @@
-    image: confluentinc/cp-ksqldb-cli:7.0.1
+    image: docker.io/confluentinc/cp-ksqldb-cli:7.0.1
@@ -110 +110 @@
-    image: confluentinc/ksqldb-examples:7.0.1
+    image: docker.io/confluentinc/ksqldb-examples:7.0.1
@@ -132 +132 @@
-    image: confluentinc/cp-kafka-rest:7.0.1
+    image: docker.io/confluentinc/cp-kafka-rest:7.0.1

Environment

  • GitHub branch: 7.0.1-post
  • Operating System: Fedora 35
  • Version of Docker: podman version 3.4.2 (output of docker --version)
  • Version of Docker Compose: podman version 3.4.2 (output of docker compose --version)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant