This repository contains Docker images configured for plain Linux deployments via SSH on the Akash console. These images are based on official distribution images and are configured with OpenSSH for secure SSH access.
- Repository:
ghcr.io/akash-network/ubuntu-2404-ssh
- Tags:
1
,latest
- Based on official Linux distribution images.
- OpenSSH server installed and configured for SSH access.
- SSH host keys generated at build time.
- Custom entrypoint script to handle SSH public key setup.
- Ports exposed for SSH access.
docker pull <repository>:<tag>
Example:
docker pull ghcr.io/akash-network/ubuntu-2404-ssh:latest
To run the container, specify your SSH public key using the SSH_PUBKEY environment variable.
docker run -d -p 3022:22 -e "SSH_PUBKEY=$(cat ~/.ssh/id_rsa.pub)" --name my-container <repository>:<tag>
Example:
docker run -d -p 3022:22 -e "SSH_PUBKEY=$(cat ~/.ssh/id_rsa.pub)" --name my-ubuntu-container ghcr.io/akash-network/ubuntu-2404-ssh:latest
ssh -i ~/.ssh/id_rsa -p 3022 root@localhost
To build the images yourself, use the provided Dockerfiles:
docker build -f Dockerfile.ubuntu -t ghcr.io/akash-network/ubuntu-2404-ssh .