If you have been trying different passwords to access root user in a docker machine terminal, do not worry. Following is the command which would get you access to root user without needing you to enter any password 🙂
sudo -i
One could access the docker machine from docker terminal with following command:
docker-machine ssh <docker-machine name such as default>
Latest posts by Ajitesh Kumar (see all)
- Mean Squared Error vs Cross Entropy Loss Function - April 28, 2024
- Cross Entropy Loss Explained with Python Examples - April 28, 2024
- Logistic Regression in Machine Learning: Python Example - April 26, 2024
Leave a Reply