Exercise Solution

In this lesson, we will go over the step-by-step solution for the exercise: Run a Server Container.

  • Run the following and when the container ID is displayed, click on the app link provided on the widget to view its output.
/
main.sh
Your app can be found at: https://811lgmnxmw1xy.educative.run
  • Take note of the beginning of the container ID that is displayed.

  • If you are running it locally, open a browser and point it to http://localhost:8086 url.

  • In the application, you would see a page that asks you to create an admin account. Input whatever username and password you wish, then click the Finish install at the bottom of the page.

svg viewer
  • You should see the home screen of Nextcloud. Play around with it as you wish.
svg viewer
  • Switch back to the terminal of the above widget.

  • Run the following commands, replacing <id> with the container ID you noted earlier:

  • Switch back to the application tab and you would notice that the application doesn’t respond anymore.
svg viewer
  • Close the tab.

In the next lesson, we will learn about volumes.

Exercise: Run a Server Container
Using Volumes
Mark as Completed
Report an Issue