My docker-compose.yaml file is as below
version: '3'
services:
client:
image: thusithathilina/my_image
ports:
- "5000:22"
command: ["/usr/sbin/sshd"]
stdin_open: true
tty: true
But this doesn't start the container in interactive mode. I want to start the ssh at container startup with interactive mode. Could someone point what I'm doing wrong here?
Host is Linux 9a65bd45c029 3.13.0-128-generic #177-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux I used
docker-compose run client