Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Docker command-line per #10
Browse files Browse the repository at this point in the history
  • Loading branch information
jernst committed Apr 22, 2021
1 parent 312ccd5 commit 4500d36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/docs/users/installation/x86_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ UBOS is available on the Docker hub. To run UBOS using Docker:
```
% docker run \
-i -t \
--cap-add NET_ADMIN --cap-add NET_BIND_SERVICE --cap-add NET_BROADCAST \
--cap-add NET_RAW --cap-add SYS_ADMIN \
--cap-add NET_ADMIN --cap-add NET_BROADCAST --cap-add SYS_ADMIN \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-e container=docker \
ubos/ubos-green \
Expand All @@ -23,6 +22,9 @@ UBOS is available on the Docker hub. To run UBOS using Docker:
While that looks somewhat intimidating, all this command really says is: "Boot the image called
``ubos/ubos-green``, keep the terminal around, and give it the privileges it needs."

As UBOS is a full operating system, not just an application running in a container, it
needs privileges such as `NET_ADMIN` so it can manage its firewall, for example.

1. When the boot process is finished, log in as user ``root``.
For password, see {{% pageref "/docs/users/faq-howto-troubleshooting/howto-root.md" %}}. Alternatively, execute
``docker exec -i -t <name> /bin/bash`` or such in a separate terminal to obtain a
Expand Down

0 comments on commit 4500d36

Please sign in to comment.