Skip to content

Commit 0c26841

Browse files
authored
Merge pull request SensorsIot#533 from Paraphraser/20220327-portainer-doco-master
20220327 Portainer-CE documentation
2 parents 180a708 + e943538 commit 0c26841

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/Containers/Portainer-ce.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
# Portainer CE
22

3-
## References
3+
## <a name="references"></a>References
44

55
- [Docker](https://hub.docker.com/r/portainer/portainer-ce/)
66
- [Website](https://www.portainer.io/portainer-ce/)
77

8-
## Definition
8+
## <a name="definitions"></a>Definition
99

1010
- "#yourip" means any of the following:
1111

1212
- the IP address of your Raspberry Pi (eg `192.168.1.10`)
1313
- the multicast domain name of your Raspberry Pi (eg `iot-hub.local`)
1414
- the domain name of your Raspberry Pi (eg `iot-hub.mydomain.com`)
1515

16-
## About *Portainer CE*
16+
## <a name="about"></a>About *Portainer CE*
1717

1818
*Portainer CE* (Community Edition) is an application for managing Docker. It is a successor to *Portainer*. According to [the *Portainer CE* documentation](https://www.portainer.io/2020/08/portainer-ce-2-0-what-to-expect/)
1919

2020
> Portainer 1.24.x will continue as a separate code branch, released as portainer/portainer:latest, and will receive ongoing security updates until at least 1st Sept 2021. No new features will be added beyond what was available in 1.24.1.
2121
2222
From that it should be clear that *Portainer* is deprecated and that *Portainer CE* is the way forward.
2323

24-
## Installing *Portainer CE*
24+
## <a name="installation"></a>Installing *Portainer CE*
2525

2626
Run the menu:
2727

28-
```
28+
```console
2929
$ cd ~/IOTstack
3030
$ ./menu.sh
3131
```
3232

3333
Choose "Build Stack", select "Portainer-ce", press [TAB] then "\<Ok\>" and follow through to the end of the menu process, typically choosing "Do not overwrite" for any existing services. When the menu finishes:
3434

35-
```
35+
```console
3636
$ docker-compose up -d
3737
```
3838

3939
Ignore any message like this:
4040

4141
> WARNING: Found orphan containers (portainer) for this project …
4242
43-
## First run of *Portainer CE*
43+
## <a name="firstRun"></a>First run of *Portainer CE*
4444

4545
In your web browser navigate to `#yourip:9000/`:
4646

@@ -51,7 +51,7 @@ From there, you can click on the "Local" group and take a look around. One of th
5151

5252
There are 'Quick actions' to view logs and other stats. This can all be done from terminal commands but *Portainer CE* makes it easier.
5353

54-
## Setting the Public IP address for your end-point
54+
## <a name="setPublicIP"></a>Setting the Public IP address for your end-point
5555

5656
If you click on a "Published Port" in the "Containers" list, your browser may return an error saying something like "can't connect to server" associated with an IP address of "0.0.0.0".
5757

@@ -79,11 +79,11 @@ Keep in mind that clicking on a "Published Port" does not guarantee that your br
7979

8080
> All things considered, you will get more consistent behaviour if you simply bookmark the URLs you want to use for your IOTstack services.
8181
82-
## If you forget your password
82+
## <a name="forgotPassword"></a>If you forget your password
8383

8484
If you forget the password you created for *Portainer CE*, you can recover by doing the following:
8585

86-
```
86+
```console
8787
$ cd ~/IOTstack
8888
$ docker-compose stop portainer-ce
8989
$ sudo rm -r ./volumes/portainer-ce
@@ -92,5 +92,5 @@ $ docker-compose start portainer-ce
9292

9393
Then, follow the steps in:
9494

95-
1. [First run of *Portainer CE*](#first-run-of-portainer-ce); and
96-
2. [Setting the Public IP address for your end-point](#setting-the-public-ip-address-for-your-end-point).
95+
1. [First run of *Portainer CE*](#firstRun); and
96+
2. [Setting the Public IP address for your end-point](#setPublicIP).

0 commit comments

Comments
 (0)