After the container is created follow these steps
Change the root password:
passwd root
To 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 ufw
extra packages to install
apt-get install sudo
apt-get install vim
apt-get install software-properties-common
restart ssh service
sudo service ssh restart