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
You probably are in the same situation as me: ruby Launcher = fatal error. Here is the solution. I will use the help of the following repo: OSK on docker and also mentioned on issue #103
Here are the commands and the errors I got using Linux Mint as my main OS:
DOCKER_BUILDKIT=1 docker build --no-cache --build-arg BASEIMAGE=ubuntu --build-arg BASETAG=18.04 --build-arg OSK_VERSION=v2.5 -t kestr3l/opensatkit:18.04-v2.5-original -f Dockerfile . ERROR: BuildKit is enabled but the buildx component is missing or broken. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/
docker buildx version
Got this error: docker: 'buildx' is not a docker command. See 'docker --help'
Solved it with: mkdir -p ~/.docker/cli-plugins wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64
Try also for mincom: docker exec -it OpenSatKit minicom -s
Now, I recommend you use an alias to run the OSK: nano ~/.bashrc alias launchosk='docker run -it --rm -e DISPLAY=$DISPLAY -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY -e QT_NO_MITSHM=1 -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/ttyUSB0 --net host --ipc host --privileged --name OpenSatKit kestr3l/opensatkit:18.04-v2.5-original' source ~/.bashrc launchosk
Probably better in the future to use a premade virtual box image or a docker container for OSK.
Hope this helps :)
The text was updated successfully, but these errors were encountered:
Hello,
You probably are in the same situation as me: ruby Launcher = fatal error. Here is the solution. I will use the help of the following repo: OSK on docker and also mentioned on issue #103
Here are the commands and the errors I got using Linux Mint as my main OS:
git clone https://github.com/kestr31/Docker-OpenSatKit
cd Docker-OpenSatKit/
DOCKER_BUILDKIT=1 docker build --no-cache --build-arg BASEIMAGE=ubuntu --build-arg BASETAG=18.04 --build-arg OSK_VERSION=v2.5 -t kestr3l/opensatkit:18.04-v2.5-original -f Dockerfile . ERROR: BuildKit is enabled but the buildx component is missing or broken. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/
docker buildx version
Got this error:
docker: 'buildx' is not a docker command. See 'docker --help'
Solved it with:
mkdir -p ~/.docker/cli-plugins wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64
Continue with:
mkdir -p ~/.docker/cli-plugins wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64
docker buildx version
docker buildx create --use goofy_perlman
DOCKER_BUILDKIT=1 docker build --no-cache --build-arg BASEIMAGE=ubuntu --build-arg BASETAG=18.04 --build-arg OSK_VERSION=v2.5 -t kestr3l/opensatkit:18.04-v2.5-original -f Dockerfile .
xhost +
docker run -it --rm -e DISPLAY=$DISPLAY -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY -e QT_NO_MITSHM=1 -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/ttyUSB0 --net host --ipc host --gpus all --privileged --name OpenSatKit kestr3l/opensatkit:18.04-v2.5-original
Got this error:
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
Solved it with:
docker run -it --rm -e DISPLAY=$DISPLAY -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY -e QT_NO_MITSHM=1 -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/ttyUSB0 --net host --ipc host --privileged --name OpenSatKit kestr3l/opensatkit:18.04-v2.5-original
Try also for mincom:
docker exec -it OpenSatKit minicom -s
Now, I recommend you use an alias to run the OSK:
nano ~/.bashrc
alias launchosk='docker run -it --rm -e DISPLAY=$DISPLAY -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY -e QT_NO_MITSHM=1 -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/ttyUSB0 --net host --ipc host --privileged --name OpenSatKit kestr3l/opensatkit:18.04-v2.5-original'
source ~/.bashrc
launchosk
Probably better in the future to use a premade virtual box image or a docker container for OSK.
Hope this helps :)
The text was updated successfully, but these errors were encountered: