6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-16 18:15:09 +00:00
tutor/docs/tutorials/portainer.rst

20 lines
936 B
ReStructuredText
Raw Normal View History

.. _portainer:
Running a Docker container web UI with `Portainer <https://portainer.io/>`__
----------------------------------------------------------------------------
Portainer is a web UI for managing docker containers. It lets you view your entire Open edX platform at a glace. Try it! It's really cool::
docker run --rm \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--volume=/tmp/portainer:/data \
-p 9000:9000 \
portainer/portainer:latest --bind=:9000
You can then view the portainer UI at `http://localhost:9000 <http://localhost:9000>`_. You will be asked to define a password for the admin user. Then, select a "Local environment" to work on; hit "Connect" and select the "local" group to view all running containers.
.. image:: ../img/portainer.png
:alt: Portainer demo
Among many other things, you'll be able to view the logs for each container, which is really useful.