Exercise Solution

In this lesson, we will go over the step-by-step solution for the exercise: Publish an Image and Run a Container on Another Machine.

  • Head to https://hub.docker.com/ with a browser and click the Sign Up link.

  • Create an account with the Docker ID you wish. For the rest of this solution, we’ll suppose it is learnbook, but you can replace it with your own.

  • The following commands will push the jsparam image onto your docker hub repository.

Get hands-on with 1200+ tech skills courses.