Difference between revisions of "Containers 2026"
m (Post commands support) |
m (Note on docker-compose messages one fail one success) |
||
| Line 38: | Line 38: | ||
* https://github.com/orgs/community/discussions/73403#discussioncomment-7475535 | * https://github.com/orgs/community/discussions/73403#discussioncomment-7475535 | ||
| + | |||
| + | |||
| + | |||
| + | First Docker compose based container set up: | ||
| + | <!-- | ||
| + | <pre> | ||
| + | ted@locahost:~/projects/container-based/kionix-driver-demo$ docker compose -f .devcontainer/docker-compose.yml up -d | ||
| + | [+] Running 3/5 | ||
| + | ⠹ zephyr [⣿⣿⣿⣿] 6.494GB / 6.494GB Pulling 2784.1s ✔ b6c3685423e2 Pull complete 50.2s | ||
| + | ✔ ea8c0f427f08 Pull complete 2425.1s ⠙ 228aca692183 Extracting [==================================================>] 3.803GB/3.803GB 2783.1s | ||
| + | ✔ 0eefaa52e6bb Download complete 152.0s failed to register layer: archive/tar: invalid tar header | ||
| + | ted@locahost:~/projects/container-based/kionix-driver-demo$ docker compose -f .devcontainer/docker-compose.yml up -d | ||
| + | [+] Running 5/5 | ||
| + | ✔ zephyr Pulled 2821.4s ✔ b6c3685423e2 Already exists 0.0s | ||
| + | ✔ ea8c0f427f08 Pull complete 2051.7s | ||
| + | ✔ 228aca692183 Pull complete 2819.4s | ||
| + | ✔ 0eefaa52e6bb Pull complete 2820.4s | ||
| + | [+] Running 2/2 | ||
| + | ✔ Network devcontainer_default Created 0.0s | ||
| + | ✔ Container devcontainer-zephyr-1 Started | ||
| + | </pre> | ||
| + | --> | ||
Revision as of 14:23, 26 January 2026
Note on Devcontainers
Found this first:
Followed only the install step of these steps . . . this article seems to be talking about some software called "Zephyr" which is unrelated to Zephyr RTOS Project:
(2) https://docs.docker.com/engine/install/ubuntu/s
Mention here of `compose.yml`:
(3) https://embedded-house.ghost.io/zephyr-with-dev-containers/
Goliath company post on devcontainers:
(4) https://blog.golioth.io/build-before-installing-zephyr-dev-environment-using-codespaces/
An example .devcontainer file here but article is Java specific an talks a lot about a Java project.
(5) https://medium.com/versent-tech-blog/introduction-to-dev-containers-4c01cb1752a0
Best article yet, more general but good explanation:
(6) https://containers.dev/guide/dockerfile
A github project with example `devcontainer.json` and `docker-compose.yml`:
ZephyrRTOS-Project docker image repo:
(8) https://github.com/zephyrproject-rtos/docker-image
Post commands support:
First Docker compose based container set up: