Skip to content

Commit 3ad82a5

Browse files
committed
Added more docker instructions and fixed the menu order
1 parent 70322f3 commit 3ad82a5

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

content/toolsAndAPI/docker.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
---
22
title: Docker
3-
weight: 20
3+
weight: 50
44
---
55

6-
# Docker Containerization
6+
Docker provides a convenient containerization, allowing to run UPPAAL under an environment different from the main operating system.
77

8+
The instructions below show how to setup UPPAAL engine inside latest Ubuntu container.
89

9-
1. Install Docker desktop from [docker.com](//www.docker.com).
10+
1. Install Docker desktop from [docker.com](//www.docker.com). Most Linux distributions already have Docker in their repositories, so consult your Linux distribution on how to install it. For example, on Debian and Ubuntu:
11+
```sh
12+
sudo apt install docker.io
13+
```
1014

1115
2. Download and extract/install UPPAAL for Linux.
1216

@@ -62,13 +66,20 @@ UPPAAL engine exits (and releases the resources) when the UPPAAL GUI is closed o
6266

6367
## Diagnostics
6468

65-
If something does not work, start an interactive shell to investigate:
69+
If docker commands give permission errors on Linux, you may need to add your account to `docker` group to be able to create docker images, so try the following:
70+
```sh
71+
sudo adduser $USER docker
72+
```
73+
then logout-login or reboot for the account changes to take effect.
74+
75+
76+
If UPPAAL cannot connect to the remote engine, or docker container does not work, then start an interactive shell to investigate:
6677
```sh
6778
docker run --rm -it --entrypoint /bin/bash uppaal-5.0.0
6879
```
6980

7081
For example:
71-
- Normally the newer LIBC versions are backward compatible with older versions, so older UPPAAL should be running fine on newer OSes, but on older computers the older library versions can be incompatible with what UPPAAL has been compiled with (`verifyta` crashes right away).
82+
- Normally the newer LIBC versions are backward compatible with older versions, so older UPPAAL should be running fine on newer Linux releases, but if UPPAAL is newer than the Linux release, then the older library versions might be incompatible with what UPPAAL has been compiled with (e.g. running `verifyta` crashes right away).
7283
- Check UPPAAL version information:
7384
```sh
7485
verifyta --version

content/toolsAndAPI/file-formats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: File Formats
3-
weight: 50
3+
weight: 60
44
---
55

66
UPPAAL supports three file formats for models: XML, XTA and TA. XML and XTA files can be loaded and stored via the **Open Project**, **Open System**, **Save System**, and **Save System As** menus. When saving a file, the file type is determined by the file name extension used. Each format is explained in more details below.

content/toolsAndAPI/latex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Latex
3-
weight: 60
3+
weight: 70
44
---
55

66
UPPAAL web site includes links to uppaal.sty file — style for typesetting documents in LaTeX.
77

8-
* [UPPAAL Latex](https://github.com/DEIS-Tools/uppaal-latex)
8+
* [UPPAAL Latex](https://github.com/DEIS-Tools/uppaal-latex)

0 commit comments

Comments
 (0)