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

container image creation fails in local system #50

Closed
harshad16 opened this issue Nov 4, 2020 · 1 comment
Closed

container image creation fails in local system #50

harshad16 opened this issue Nov 4, 2020 · 1 comment

Comments

@harshad16
Copy link
Member

Describe the bug
while trying to build container image in local system with podman build, the dockerfile build is failing and responding with following error.

STEP 1: FROM fedora:31
STEP 2: ENV USER=nepthys     PIPENV_CACHE_DIR=/home/user/.cache/pipenv     HOME=/home/user/     LANG=en_US.UTF-8     GITHUB_COMMIT=1
--> Using cache 14cfe489a45ac65a12df49ddfa3416c27bf8f2690921e8a56d1a4c4897132acf
STEP 3: WORKDIR
 /home/user
--> Using cache 83d817736f5c26153a03b91f6d771c1118c87165449dc660df88a470105be024
STEP 4: COPY docker_entrypoint.sh /home/user
--> Using cache 208558d34eb01c5665ccbf0740938b91d42e37b9130cc5a119f01aa38a394081
STEP 5: COPY create_docs.sh /home/user
--> Using cache 5cd94f7d0d78cf1946742561301cad907549c79b989f9091537fc24b0227394e
STEP 6: COPY _templates /home/user/_templates
Error: error building at STEP "COPY _templates /home/user/_templates": "/home/hnalla/.local/share/containers/storage/overlay/5bc58a9373977548b1755961c1efe09eb6c72ade883a5f6b63424c569c0588ac/merged/home/user" already exists, but is not a subdirectory)

To Reproduce
Steps to reproduce the behavior:

  1. Go to clone repository of nepthys in local system.
  2. Execute 'podman build -t nepthys -f Dockerfile .'
  3. Scroll down to 'error results'
  4. See error

Expected behavior
container image builds without any interruption.

@harshad16
Copy link
Member Author

Fixed with #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant