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

🐳 ➡ 🦭 Replace Docker with Podman #409

Merged
merged 9 commits into from
Feb 27, 2024
Merged

🐳 ➡ 🦭 Replace Docker with Podman #409

merged 9 commits into from
Feb 27, 2024

Conversation

@kachick kachick changed the title Replace DockerDesktop with Podman-Desktop 🐳 ➡ 🦭 Feb 22, 2024
kachick added a commit that referenced this pull request Feb 23, 2024
(except docker... #409)
@kachick
Copy link
Owner Author

kachick commented Feb 26, 2024

podman-desktop/podman-desktop#5706 much timely ... 😮

@kachick
Copy link
Owner Author

kachick commented Feb 26, 2024

📝

nixpkgs provide 4.9.3, but looks not include remote. (I have spent N hours to debug why server section is not appeared in podman version 🙄 https://github.com/NixOS/nixpkgs/blob/e3474e1d1e53b70e2b2af73ea26d6340e82f6b8b/pkgs/applications/virtualization/podman/default.nix#L104-L108 👀 ? )
And above issues, nixpkgs calling with packages does not resolve missing newuidmap even if I called nix-shell --packages shadow podman --command 'zsh'

So need follows

sudo apt-get install uidmap # TODO: replace with nixpkgs `shadow` if I found integration codes
cd "$(mktemp --directory)"
wget https://github.com/containers/podman/releases/download/v4.9.3/podman-remote-static-linux_amd64.tar.gz
sudo tar -C /usr/local -xzf podman-remote-static-linux_amd64.tar.gz
/usr/local/bin/podman-remote-static-linux_amd64 version

asdf-podman https://github.com/tvon/asdf-podman loooks not active, but worked with ref of tvon/asdf-podman@974e0fb
actually renaming the remote https://github.com/tvon/asdf-podman/blob/974e0fbb6051aaea0a685d8b14587113dfba9173/lib/utils.bash#L69

With mise maybe better solution

mise plugins install https://github.com/tvon/asdf-podman.git
mise exec podman@latest -- podman version

@kachick
Copy link
Owner Author

kachick commented Feb 27, 2024

My experience in trying kachick/lishogi-dev#9 (comment)

  • kube pod looks good to use
  • Use docker-compose.yml is annoy even if I use docker-compose official or podman-compose.

In some projects using docker compose like https://github.com/lichess-org/lila-docker make me hard since this change 🤔

@kachick kachick changed the title 🐳 ➡ 🦭 🐳 ➡ 🦭 Replace DockerDesktop with Podman-Desktop Feb 27, 2024
@kachick kachick changed the title 🐳 ➡ 🦭 Replace DockerDesktop with Podman-Desktop 🐳 ➡ 🦭 Replace Docker with Podman Feb 27, 2024
@kachick
Copy link
Owner Author

kachick commented Feb 27, 2024

Give it a try!

@kachick kachick marked this pull request as ready for review February 27, 2024 07:06
@kachick kachick merged commit 169c07c into main Feb 27, 2024
16 checks passed
@kachick kachick deleted the podman branch February 27, 2024 07:07
@@ -1,3126 +0,0 @@
#compdef docker dockerd
#
# zsh completion for docker (http://docker.com)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file provided in this repo for #236, I don't want to put as this if podman does not make similar error.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wrong #423

@kachick
Copy link
Owner Author

kachick commented Mar 4, 2024

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.

1 participant