Run a Host Shell based on Alpine Linux. Small, lightweight and fast 🏔️
449
Run a Host Shell based on Alpine Linux. Small, lightweight and fast 🏔️
This container will expose your hosts shell via web, do use at your own risk.
It was created for the reddit use BiltuDas_1
docker run --name host-command \
--network=host-command \
-e HOST_IP=172.28.5.254 \
-v .../id_ed25519:/root/.ssh/id_ed25519:ro \
-d 11notes/host-command:[tag]
| Parameter | Value | Description |
|---|---|---|
user | root | user |
uid | 0 | user id |
gid | 0 | group id |
home | /root | home directory of user root |
| Parameter | Value | Default |
|---|---|---|
HOST_IP | IP of the host running docker | 60 |
docker network create \
--driver=bridge \
--subnet=172.28.0.0/16 \
--ip-range=172.28.5.0/24 \
--gateway=172.28.5.254 \
host-command
You must create a private key on your host and enable key authentication via SSH. The docker container will connect via SSH and issue the commands.
Content type
Image
Digest
sha256:c1e75a0aa…
Size
135.1 MB
Last updated
about 3 years ago
docker pull 11notes/host-command:1.0.0