Page 1 of 1
Docker image on Windows
Posted: 2024-01-27 3:20
by torchris4
Hello,
I have pulled down the image "luckfoxtech/luckfox_pico:1.0" and when I try to run it on Docker on Windows it will not start and dies immediately.
Does the Docker image only run on Ubuntu?
thanks!
Re: Docker image on Windows
Posted: 2024-01-27 3:45
by Luckfox Taylor
Docker can also run on Windows environments, but the configuration process is relatively cumbersome and not recommended. If you use Docker Desktop, you also need to install Windows Subsystem for Linux (WSL) before installing Docker Desktop software, and finally SSH login. It is more straightforward to compile in the WSL Ubuntu 22.04 environment directly on the computer.
Re: Docker image on Windows
Posted: 2024-01-27 21:14
by torchris4
I already do have WSL and SSH in my Windows environment and it is all configured correctly and runs other Linux-based docker images.
Re: Docker image on Windows
Posted: 2024-01-28 3:11
by torchris4
I did figure it out - I was just running the wrong command to start the run the container. I needed to run:
Code: Select all
docker run -dt --name luckfox luckfoxtech/luckfox_pico:1.0 /bin/bash -c "echo 'Hello'; /bin/bash"
I can now try to set up the dev environment.
Re: Docker image on Windows
Posted: 2024-01-29 6:53
by Luckfox Taylor
Sure, you can actively share your configuration process on the forum, so that other users can avoid pitfalls in the future.