Cant get to Container Console in latest alpha5 after Updated from latest stable #655

Closed
opened 2025-12-29 02:21:41 +01:00 by adam · 3 comments
Owner

Originally created by @masterwishx on GitHub (Feb 29, 2024).

Using Ubuntu Server in Oracle Cloud , Headscale in Docker [headscale/headscale:0.23.0-alpha5]
After updated to v 0.23.0-alpha5 from 0.22.3 cant get to Console from portainer also from SSH session of server :

docker exec -it headscale /bin/bash
docker exec -it headscale /bin/sh

OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown

docker exec headscale headscale nodes list Working Fine

Originally created by @masterwishx on GitHub (Feb 29, 2024). Using Ubuntu Server in Oracle Cloud , Headscale in Docker [headscale/headscale:0.23.0-alpha5] After updated to v 0.23.0-alpha5 from 0.22.3 cant get to Console from portainer also from SSH session of server : `docker exec -it headscale /bin/bash` `docker exec -it headscale /bin/sh` `OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown` `OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown` `docker exec headscale headscale nodes list` Working Fine
adam added the bug label 2025-12-29 02:21:41 +01:00
adam closed this issue 2025-12-29 02:21:41 +01:00
Author
Owner

@ohdearaugustin commented on GitHub (Mar 3, 2024):

@masterwishx This is not a bug and it is intend to work this way. We are using distroless images, this mean there is nothing inside the container that is not needed.

You can read more about distroless images here

If you have any specific question just let me know.

The debug image will container a shell: v0.23.0-alpha5-debug

@ohdearaugustin commented on GitHub (Mar 3, 2024): @masterwishx This is not a bug and it is intend to work this way. We are using distroless images, this mean there is nothing inside the container that is not needed. You can read more about distroless images [here](https://github.com/GoogleContainerTools/distroless) If you have any specific question just let me know. The debug image will container a shell: [v0.23.0-alpha5-debug](https://hub.docker.com/layers/headscale/headscale/v0.23.0-alpha5-debug/images/sha256-c3dd57d5ebc557b1f865a737593d6b249ffefa16f8a081010cdd42af852ca37b?context=explore)
Author
Owner

@masterwishx commented on GitHub (Mar 4, 2024):

This is not a bug and it is intend to work this way. We are using distroless images, this mean there is nothing inside the container that is not needed.

Thanks, got it

@masterwishx commented on GitHub (Mar 4, 2024): > This is not a bug and it is intend to work this way. We are using distroless images, this mean there is nothing inside the container that is not needed. Thanks, got it
Author
Owner

@florian-obradovic commented on GitHub (May 12, 2024):

I was asking myself how I can answer yes/no questions of a command like:
docker exec headscale headscale nodes backfillips
CleanShot 2024-05-12 at 13 45 00@2x

@florian-obradovic commented on GitHub (May 12, 2024): I was asking myself how I can answer yes/no questions of a command like: `docker exec headscale headscale nodes backfillips` ![CleanShot 2024-05-12 at 13 45 00@2x](https://github.com/juanfont/headscale/assets/57985125/7d5cea92-9479-4427-a5af-45a970205097)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#655