-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,45 @@ | ||
# Running the F1 2023 container | ||
|
||
## Mac OS | ||
## Docker | ||
|
||
The following Docker command will run the F1 2023 container on Mac OS: | ||
The following Docker command will run the F1 2023 container (support for `amd/64` and `arm/64` architectures) and expose the required ports for the UI and UDP listener(s): | ||
|
||
```bash | ||
docker run --name f1_2023 -d -p 8501:8501/tcp -p 20777:20777/udp ghcr.io/splunk/f1_2023:latest | ||
docker run --name f1_2023 -d \ | ||
-p 8501:8501/tcp \ | ||
-p 20777:20777/udp \ | ||
rcastley895/f1_2023:latest | ||
``` | ||
|
||
The above will run the F1 2023 container in the background and expose port `8501` for the UI and port `20777` for the UDP listener. | ||
|
||
!!! note | ||
|
||
If you are using more than one simulator you can expose up to 8 UDP ports, for example, if you have 4 simulators running you would start the container by running: | ||
If you are using more than one simulator you can expose up to **8 UDP** ports, for example, if you have 4 simulators running you would start the container by running: | ||
|
||
```bash | ||
docker run --name f1_2023 -d -p 8501:8501/tcp -p 20777:20777/udp -p 20778:20778/udp -p 20779:20779/udp -p 20780:20780/udp ghcr.io/splunk/f1_2023:latest | ||
docker run --name f1_2023 -d \ | ||
-p 8501:8501/tcp \ | ||
-p 20777:20777/udp \ | ||
-p 20778:20778/udp \ | ||
-p 20779:20779/udp \ | ||
-p 20780:20780/udp \ | ||
rcastley895/f1_2023:latest | ||
``` | ||
|
||
## Ubuntu | ||
|
||
The following Docker command will run the F1 2023 container on Ubuntu: | ||
|
||
```bash | ||
docker run --name f1_2023 -d -p 8501:8501/tcp -p 20777:20777/udp ghcr.io/splunk/f1_2023-amd64:latest | ||
``` | ||
|
||
The same instructions to expose additional UDP ports apply to Ubuntu as well as was described in the Mac OS section. | ||
|
||
## Validation | ||
|
||
To validate the container is running correctly you can run the following command: | ||
|
||
=== "Command" | ||
|
||
```bash | ||
``` bash | ||
docker port f1_2023 | ||
``` | ||
|
||
=== "Output" | ||
|
||
```bash | ||
``` bash | ||
8501/tcp -> 0.0.0.0:8501 | ||
20777/udp -> 0.0.0.0:20777 | ||
``` |