After the container is created follow these steps
Change the root password:
passwd rootTo know the IP address of the docker we need to launch ipconfig but the functionality is not installed by default. Next step then is
install network packages
apt-get update
apt-get install net-tools
apt-get install openssh-server
apt-get install ufwextra packages to install
apt-get install sudo
apt-get install vim
apt-get install software-properties-commonrestart ssh service
sudo service ssh restart