docker-image
docker-image copied to clipboard
docker-compose with developer image fails
Using this docker-compose.yml file:
version: "2"
services:
zephyr:
image: docker.io/zephyrprojectrtos/zephyr-build:latest
container_name: zephyr
volumes:
- /myworkspace:/workdir
ports:
- "5900:5900"
I get the following error starting the container:
zephyr | Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml" zephyr | zephyr | ERROR: openbox-xdg-autostart requires PyXDG to be installed
I tried using the run script in the README file and got the same error.
Are you trying to name the docker container using --name? That was an issue for me, removing --name helped. Ultimately went with docker-compose for naming and easier path handling when setting up the container.
Nope. Just doing what the README describes.
There is an updated readme as of yesterday morning (4-12-2022), have you tried it?
With the latest instructions, I have a Dockerfile, docker-compose.yml, and a makefile to load up everything and build west. This was advised from a fellow developer.
Attached are the files, if they help. Run these from a new folder:
Pull the Zephyr repo into the current directory
make build
Starts the container, on the first run, it will init the image and run the west startup process, so it can take a while.
make run
Gives shell access
make shell
I've used the container to build a sample, then use host OS to flash the device. Hope it helps!