Skip to content

Conversation

@murataslan1
Copy link
Contributor

Fixes #1013

Changes

  • Add docker.io/ prefix to Docker image names for podman-docker compatibility
    • Add mkdir -p command to create .config/croc directory before mounting volume

Problem

On systems with podman-docker (Ubuntu 24.04+), the short image name schollz/croc fails with:

Error: short-name "schollz/croc" did not resolve to an alias

Solution

Use fully qualified image name docker.io/schollz/croc and ensure config directory exists before mounting.

Testing

Tested with podman-docker on Ubuntu 24.04

Fixes schollz#1013

- Add docker.io/ prefix to Docker image names for podman-docker compatibility
- Add mkdir -p command to create .config/croc directory before mounting

This ensures the Docker commands work correctly with:
- podman-docker on Ubuntu 24.04+
- Any system with unqualified-search registries disabled
@schollz schollz merged commit 20f9cc0 into schollz:main Dec 23, 2025
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

Successfully merging this pull request may close these issues.

[Bug]: Add docker.io to docker run command

2 participants