-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Got 'fill out specgen: /home/coder/: duplicate mount destination' error when create container #15518
Comments
Can you run the Podman API server manually via |
Yes, but it seems no more output when error.
|
Did you disable the |
Yes,my work running on docker now, and it has some problem with podman, I have restart podman.socket service to fix them. I think the podman running with rootless, I mount /run/users/{UID}/podman/podman.sock:/var/run/docker.sock, curl test return ok. I don't know if Coder require root API socket, I think must be this reason. I can't test it right now, I'll try again in the future if I get a chance。 THX |
Is this a BUG REPORT
/kind bug
Description
I have use Coder to create a docker-code-server with terraform-provider-docker by unix-socket api,
Then I got a 'fill out specgen: /home/coder/: duplicate mount destination' error when create container.
It's maybe similarity with #11822
And I can't give detail clearly, it's too deep for me to show this.
But I will try show how to get this error.
Steps to reproduce the issue:
compose.yaml
run
podman exec -it coder /bin/sh
to attach then container.run
/opt/coder templates init
in conatiner and select docker-code-server.run
/opt/coder templates create
to install template to coderrun
/opt/coder create --template="docker-code-server" workspace
to create the workspace conatiner.Describe the results you received:
Additional information you deem important (e.g. issue happens only occasionally):
Maybe the volume config generate with
https://github.com/kreuzwerker/terraform-provider-docker/blob/074c94cabc2ea3d1132c27f89f1ae05758f04146/internal/provider/resource_docker_container_funcs.go#L119
Output of
podman version
:Output of `podman info`:
Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Arm64 with Oracle Cloud Infrastructure (OCI)
The text was updated successfully, but these errors were encountered: