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

I Broke my Docker Container With a Spelling Error #33

Closed
ZeHolyQofPower opened this issue Sep 28, 2021 · 0 comments
Closed

I Broke my Docker Container With a Spelling Error #33

ZeHolyQofPower opened this issue Sep 28, 2021 · 0 comments

Comments

@ZeHolyQofPower
Copy link

Okay, I know this is really stupid, but I can't figure out how to fix it.
When I did Homework2, in my Dockerfile I misspelled the name of my repo and no one noticed. When spinning up my container to test my code, I found this error and decided to correct it.
ARG REPO_NAME="csce274_attemp_ii" vs.
ARG REPO_NAME="csce274_attempt_ii"
Now when I start my container, it seemingly remembers both the spelling error and the new correction. It duplicates all the code in the Catkin workspace for each, it consistently starts me in the old directory, and only the new directory is in sync with my code and github repo.
Example of starting up:
image
Well, if I delete the old directory while inside the container, it doesn't save because, duh, it's in the container.
I have searched and searched using a combo of grep, cat, and tree and there is no mention of "attemp_" without the 't' anywhere in my repo so I have no idea how Docker is remembering this old directory?

Also for the record, I really need to delete this old directory and can't just ignore it. It has caused me so much confusion and anger until I finally figured out what was really going on.

@18r441m 18r441m closed this as completed Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants