rustdesk / rustdesk/rustdesk-server

/bin/bash not found in docker container 1.1.11-1

Open
#458 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
10.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Hi,
I just upgraded rustdesk-server from docker image 1.1.8 to 1.1.11-1 and I'm trying to connect to the bash container to run the hbbs -V command.
With docker image 1.1.8 I was able to connect, but with docker image 1.1.11-1, this is no longer possible

With rustdesk server 1.1.8, the command returned

# docker exec -t -i <CONTAINER_ID> /bin/bash
CONTAINER_ID# hbbs -V
hbbs 1.1.8

With rustdesk server 1.11.1-1, the command says

# docker exec -t -i <CONTAINER_ID> /bin/bash
Error: crun: executable file `/bin/bash` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found

Is it abnormal ? or the bash has been removed in this docker version ?

I can notice that the size of the image is very small compared with the previous image
# podman image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/rustdesk/rustdesk-server latest 5e9792e3a4c0 3 months ago 23.5 MB
144339d7625f 14 months ago 98.7 MB

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified in the report. Reproduce the issue with docker exec -t -i <CONTAINER_ID> /bin/bash against images 1.1.8 and 1.1.11-1, then inspect the image contents and build configuration to determine whether the missing shell is intentional. Done means the image behavior is explained and the expected user-facing outcome is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, rust
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.