Skip to content

Commit

Permalink
added docs for adding pybamm user to root and sudoers group
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Apr 2, 2024
1 parent a5e3840 commit d51c420
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/user_guide/installation/install-from-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ Once you have pulled the Docker image, you can run a Docker container with the P

3. You can execute PyBaMM-related commands, run tests develop & contribute from the container.

.. note::
The default user for the container is ``pybamm`` with ``pybamm`` as password. The user belongs to ``sudoers`` and ``root`` group so the sudo command can be issued to install additional packages to the container. After a clean install, ``sudo apt-get update`` should be executed to update the source list. Additional packages can be installed using ``sudo apt-get install [package_name]``.

Exiting the Docker container
----------------------------

Expand Down

0 comments on commit d51c420

Please sign in to comment.