You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -112,16 +112,15 @@ So in order to execute `S-CORE DevContainer` on your host (and test it as part o
112
112
113
113
* export this newly built S-CORE DevContainer image
114
114
* import the image on your host machine
115
-
* use the image name in the `.devcontainer/devcontainer.json` of the targeted S-CORE module
115
+
* use the image name and tag `latest`in the `.devcontainer/devcontainer.json` of the targeted S-CORE module
116
116
117
117
Concretely, this can be done as follows:
118
118
119
-
* Run `docker save <imageName> > export.img` in `Development Container A`.
120
-
For example, given above build output, this would be `docker save vsc-s-core-devcontainer-209943ec6ff795f57b20cdf85a70c904d1e3b4a329d1e01c79f0ffea615c6e40-features > export.img`
119
+
* Run `docker save "ghcr.io/eclipse-score/devcontainer" > export.img` in `Development Container A`.
121
120
* On your **host machine** (!!), open a console and run `docker load < /path/to/export.img`.
122
-
* In the working copy of the targeted S-CORE module, edit the file `.devcontainer/devcontainer.json` and change the `"image": "..."` entry to `"image": "<imageName>"`.
123
-
Given above build output, this would be `"image": "vsc-s-core-devcontainer-209943ec6ff795f57b20cdf85a70c904d1e3b4a329d1e01c79f0ffea615c6e40-features"`.
121
+
* In the working copy of the targeted S-CORE module, edit the file `.devcontainer/devcontainer.json` and change the `"image": "..."` entry to `"image": "ghcr.io/eclipse-score/devcontainer:latest"` (if not already set like this).
124
122
The Visual Studio Code instance related to the targeted S-CORE module will now ask you to rebuild the DevContainer.
123
+
If not, press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>p</kbd> and run from there "Dev Containers: Rebuilt Container Without Cache".
125
124
Do so, and you have a running instance of `S-CORE DevContainer` related to the targeted S-CORE module.
0 commit comments