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

Compose installed by podman desktop is not working on windows #3535

Closed
odockal opened this issue Aug 15, 2023 · 4 comments
Closed

Compose installed by podman desktop is not working on windows #3535

odockal opened this issue Aug 15, 2023 · 4 comments
Assignees
Labels
Milestone

Comments

@odockal
Copy link
Contributor

odockal commented Aug 15, 2023

Bug description

When I run compose.bat from the PATH I got: .local/share/containers/podman-desktop/extensions-storage/podman-desktop.compose/bin/compose.bat up -d 'docker-compose' is not recognized as an internal or external command, operable program or batch file.

I am trying to use podman desktop's compose integration and spin up some example application (awesome-docker/flask).
It might be either bug or I missed the concept how it works, I tried to follow the compose installation process.

  1. Have podman desktop running, podman installed and running
  2. Install compose via Compose download button
    compose-install
  3. Make it system wide installation
    compose-install-success
  4. Add installation folder to on the PATH
    compose-wrapper
  5. Restart the podman desktop
  6. For quite a time I see a warning by compose button in status bar stating something like:
    No running container engine. Unable to write a compose wrapper script that will set DOCKER_HOST in that case. Please start a container engine first.
  7. If I wait a long enough or restart compose extension (disable-enable) I will get:
    Compose is installed and usable with C:\Users\Ondrej\.local\share\containers\podman-desktop\extensions-storage\podman-desktop.compose\bin\compose
  8. I expect to work now on CLI with a docker-compose which should be on a PATH, so I try: $ docker-compose up -d Cannot connect to the Docker daemon at npipe:////./pipe/docker_engine. Is the docker daemon running?
  9. Which leads me to the trying of the compose.bat executable on CLI which should be at the same folder as installed docker-compose.exe:
$ ./../../../.local/share/containers/podman-desktop/extensions-storage/podman-desktop.compose/bin/compose.bat up -d
'docker-compose' is not recognized as an internal or external command,
operable program or batch file.

I am not sure If there is a bug in the compose.bat script, docs/guide is misleading, I am doing something wrong.

Operating system

Windows 10 Professional

Installation Method

None

Version

1.2.1

Steps to reproduce

No response

Relevant log output

No response

Additional context

There is a warning in podman desktop for docker socket compatibility in podman desktop:
⚠ Docker Socket Compatibility: Docker socket is not reachable. Docker specific tools may not work.

@odockal
Copy link
Contributor Author

odockal commented Aug 16, 2023

There are 3 issues reported on behalf of this one. We might reconsider how to handle this one, probably no need to put it in the next milestone.

@cdrage
Copy link
Contributor

cdrage commented Aug 29, 2023

I'm going to close this issue for now as we are going to update the Windows documentation via the issue #3557 (this issue is duplicated here and #3557).

@cdrage cdrage closed this as completed Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

4 participants