-
Notifications
You must be signed in to change notification settings - Fork 147
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
Instructions to create local docker dev container not working for me #185
Comments
Have you tried the make local? |
Hi @LaurentLesle unfortunately, local doesn't even build. |
Thanks @pmatthews05 for reporting this issue. Looks like we have a regression. I keep the issue opened until fixed. |
Hi @pmatthews05 To create a local version of the rover, I open with vscode the rover project and make sure it is opened in the dev container. Then I have to sudo the make local to get the local version created. To use the new rover I update the docker-compose with I have created a patch for the next release that will skip the agents creation when running 'sudo make local' For some reasons if I do not sudo the make local I have the process partially working, meaning the base image is created but the tag rover-local:xxx is not created |
I will wait for the next release and review it then. |
We have just refactored with this release the way docker images are built. It is now use the buildx which allow us to add support for ARM64 as well (Mac M1 support). Those foundation will allow us to add a new feature to build the rover for your private docker registry. You can test the latest code with 'make local' to build a local version Our goal is to add 'make private' to upload in your private registry the images. |
Following the instructions within the documentation (./docs/DEV_CONTAINER.md), but I'm unable to get it to work at the end.
Please note, until this project, I've never touched docker, bash, Linux etc before.
I'm using a Windows device with Docker installed, and VSCode.
Below are the steps I've taken
I've taken a forked of this project and cloned it down to my laptop, and opened the rover project.
I've then ensured the project is running inside the container.
Modified the relevant files e.g /scripts/function.sh
Following the DEV_CONTAINER.md, in the bash terminal inside the container project, I've run
make dev
This appears to create build, with a version, aztfmod/rover-preview:1.0.1-2106.290834, and fails to push to docker.io repository as stated in the documentation. (Also when I first did this the version wasn't aztfmod/rover-preview, it was aztfmod/rover:0.15.4-2105.2603. I'm not sure what I did to get it to change to a preview value).
Next step states to update the docker compose file within the .devcontainer/docker-compose.yml. Am I correct that this is the file for the container it's already siting in?
I've replaced the following:
with
Delete the rover volume. I'm unable to do this from within the container. Is that right? But I can from the windows terminal, I can call the command.
docker volume ls
. Callingdocker volume rm rover_devcontainer_volume-caf-vscode
gives me an error message as stated in the documentation, and I can remove it using the long Id.I then Restart Dev Container which then gives me the following screen. However, I'm unable to type in the terminal, no input works.
@hattan Are you able to help an advise, as you wrote the documentation.
My main questions summarised are:
The text was updated successfully, but these errors were encountered: