You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a image with linux OS to use on a MS-Windows host.
My Dockerfile has the following line : COPY pyproject.toml /ansible-example/pyproject.toml
This file, pyproject.toml is in the context of podman when attempting to build the image .
Steps to reproduce the issue
Steps to reproduce the issue
Open Windows Powershell terminal
Change directory to folder with Dockerfile
Run podman build --tag ansible:latest .
Error:
STEP 8/11: COPY pyproject.toml /ansible-example/pyproject.toml
Error: building at STEP "COPY pyproject.toml /ansible-example/pyproject.toml": checking on sources under "/var/tmp/libpod_builder130571481/build": copier: stat: "/pyproject.toml": no such file or directory
Describe the results you received
Error when trying to copy file into image.
Describe the results you expected
When using Docker same files work fine.
I was expecting confirmation that file has been copied into image.
podman info output
On Windows 11 Pro.
---------------------------host:
arch: amd64buildahVersion: 1.38.0cgroupControllers: []cgroupManager: cgroupfscgroupVersion: v1conmon:
package: conmon-2.1.12-2.fc40.x86_64path: /usr/bin/conmonversion: 'conmon version 2.1.12, commit: 'cpuUtilization:
idlePercent: 97.69systemPercent: 1.05userPercent: 1.27cpus: 8databaseBackend: sqlitedistribution:
distribution: fedoravariant: containerversion: "40"eventLogger: journaldfreeLocks: 2047hostname: DESKTOP-RK8HNH9idMappings:
gidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 524288size: 65536uidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 524288size: 65536kernel: 5.15.167.4-microsoft-standard-WSL2linkmode: dynamiclogDriver: journaldmemFree: 6475223040memTotal: 8214564864networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.13.1-1.fc40.x86_64path: /usr/libexec/podman/aardvark-dnsversion: aardvark-dns 1.13.1package: netavark-1.13.1-1.fc40.x86_64path: /usr/libexec/podman/netavarkversion: netavark 1.13.1ociRuntime:
name: crunpackage: crun-1.19.1-1.fc40.x86_64path: /usr/bin/crunversion: |- crun version 1.19.1 commit: 3e32a70c93f5aa5fea69b50256cca7fd4aa23c80 rundir: /run/user/1000/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt-0^20241211.g09478d5-1.fc40.x86_64version: | pasta 0^20241211.g09478d5-1.fc40.x86_64 Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: truepath: unix:///run/user/1000/podman/podman.sockrootlessNetworkCmd: pastasecurity:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: trueseccompEnabled: trueseccompProfilePath: /usr/share/containers/seccomp.jsonselinuxEnabled: falseserviceIsRemote: trueslirp4netns:
executable: ""package: ""version: ""swapFree: 2147483648swapTotal: 2147483648uptime: 0h 58m 18.00svariant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries:
search:
- docker.iostore:
configFile: /home/user/.config/containers/storage.confcontainerStore:
number: 1paused: 0running: 0stopped: 1graphDriverName: overlaygraphOptions: {}graphRoot: /home/user/.local/share/containers/storagegraphRootAllocated: 1081101176832graphRootUsed: 3126464512graphStatus:
Backing Filesystem: extfsNative Overlay Diff: "true"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 27runRoot: /run/user/1000/containerstransientStore: falsevolumePath: /home/user/.local/share/containers/storage/volumesversion:
APIVersion: 5.3.1Built: 1732147200BuiltTime: Thu Nov 21 00:00:00 2024GitCommit: ""GoVersion: go1.22.7Os: linuxOsArch: linux/amd64Version: 5.3.1
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Happens all the time. See screen shot.
The text was updated successfully, but these errors were encountered:
Issue Description
I am trying to create a image with linux OS to use on a MS-Windows host.
My Dockerfile has the following line :
COPY pyproject.toml /ansible-example/pyproject.toml
This file, pyproject.toml is in the context of podman when attempting to build the image .
Steps to reproduce the issue
Steps to reproduce the issue
podman build --tag ansible:latest .
Error:
STEP 8/11: COPY pyproject.toml /ansible-example/pyproject.toml
Error: building at STEP "COPY pyproject.toml /ansible-example/pyproject.toml": checking on sources under "/var/tmp/libpod_builder130571481/build": copier: stat: "/pyproject.toml": no such file or directory
Describe the results you received
Error when trying to copy file into image.
Describe the results you expected
When using Docker same files work fine.
I was expecting confirmation that file has been copied into image.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Happens all the time. See screen shot.
The text was updated successfully, but these errors were encountered: