An Ubuntu based image that can be used with editors that support remote development over SSH.
Validated with:
- JetBrains Gateway
Includes:
- git
- JDK
Image name: itzg/ubuntu-remote-dev:20.04-17
The image creates a user named dev
with UID 1000, so assuming a local port binding of 2022 to the server's port, this can be used to connect to the container:
ssh -p 2022 dev@HOST
Replace
HOST
with the actual host/IP of the container, such as "localhost"
Required: yes
User ID with protocol prefix supported by ssh-import-id
SSH server
Mount point: /workspace
Home directory of user dev
The volume /host_keys
can be mounted and any files named ssh_host_*_key
and ssh_host_*_key.pub
will be used by SSHD.
The volume /sshd/configs.d
can be mounted and any files named *.conf
will be included into the SSHD configuration.
Any additional arguments will be passed to the sshd
server command-line