Hi@akhtar,
To enable SSH inside Docker Container, you have to create one configuration file that contains permissions and host keys as given below.
$ vi sshd_config
- Write down these below lines inside sshd_config file.
 

- Create one Dockerfile that will download all the required software.
 

- Build this Dockerfile, so that it will create one customize image with SSH access. 
 
Now you can launch one Docker container using this image that has SSH enabled.