podman-desktop / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.88k stars 307 forks source link

Kubernetes Suite 2: On Windows, the container built from podman-desktop-demo/primary-podify-demo/front/ does not start #2412

Closed themr0c closed 1 year ago

themr0c commented 1 year ago

Bug description

On Windows, the container built from podman-desktop-demo/primary-podify-demo/front/ does not start.

Operating system

Windows 10 Professional

Version

next (development version)

Steps to reproduce

  1. Git clone https://github.com/redhat-developer/podman-desktop-demo

  2. Images > Pull an image: quay.io/centos7/redis-5-centos7

  3. Images > quay.io/centos7/redis-5-centos7 > Start: Container name: enter redis

  4. Using inspect tag, get the IP address for the container (NetworkSettings.IPAddress)

  5. Build an image:

    1. Containerfile path: podman-desktop-demo/primary-podify-demo/front/Dockerfile
    2. Image name: my-python-app:1.0
  6. History: Verify the entrypoint.sh has been added to the image:

    /bin/sh -c #(nop) ENTRYPOINT ["/entrypoint.sh"]
    /bin/sh -c chmod +x /entrypoint.sh
    /bin/sh -c #(nop) COPY file:c13f1a65ff5b4bc83a7c43a0d99cf1c014a45fcc15380018494e7ab1e76a3a77 in / 
  7. Start my-python-app:1.0

    1. Basic: mapping port 5000 to local port 5000
    2. Networking: Add extra hosts: redis to the IP retrieved in previous step
  8. The container fails to start with the error:

    {"msg":"exec container process (missing dynamic library?) `/entrypoint.sh`: No such file or directory","level":"error","time":"2023-05-09T14:45:55.582751Z"}

Relevant log output

No response

Additional context

On Linux, the container built from the same source starts.

jeffmaury commented 1 year ago

Cannot reproduce thus closing