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

[ChatGPT] Docker Issue #22

Open
xihajun opened this issue Jul 16, 2023 · 2 comments
Open

[ChatGPT] Docker Issue #22

xihajun opened this issue Jul 16, 2023 · 2 comments
Labels
GPT3.5 GPT3.5

Comments

@xihajun
Copy link
Owner

xihajun commented Jul 16, 2023

I have a docker issue, hope you can help

@xihajun xihajun added the GPT3.5 GPT3.5 label Jul 16, 2023
@xihajun
Copy link
Owner Author

xihajun commented Jul 16, 2023

77 | >>> COPY ../../../../local/mnt/workspace/datasets/imagenet ./imagenet
78 | # Preprocess (calibration data): Download full dataset and run calibration on 50,000 images
79 | RUN axs byname extractor , extract --archive_path=/workspace/datasets/dataset-imagenet-ilsvrc2012-val.tar --tags,=extracted,imagenet --strip_components=1 --dataset_size=50000

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::lag9cqd3f9eb80nlzahmo2wcx: "/local/mnt/workspace/datasets/imagenet": not found

@github-actions
Copy link
Contributor

It seems that the file or directory "../../../../../local/mnt/workspace/datasets/imagenet" is not found in your current context. This is causing the COPY command in your Dockerfile to fail.

Make sure that the file or directory you are trying to copy exists in the correct location relative to your Dockerfile. Double-check the path "../../../../../local/mnt/workspace/datasets/imagenet" to ensure it is accurate and accessible.

Additionally, ensure that the file or directory you are trying to copy is included in your Docker build context. The build context is the set of files and directories that are available to be copied into the Docker image. If the file or directory is outside of the build context, it will not be accessible during the build process.

If the file or directory is located on the host machine, you may need to adjust your build context or use a volume mount to make it accessible to the Docker build.

Verify these details and try running the Docker build again.

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

No branches or pull requests

1 participant