Skip to content

Commit 5a5aa6d

Browse files
fix(post): Fixed portainer
1 parent e547106 commit 5a5aa6d

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

_posts/2020-08-29-portainer-2.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,15 @@ What's new in Portainer 2.0? Well, a ton. With the release of Portainer 2 you
1212

1313
[Watch Video](https://www.youtube.com/watch?v=jzhd6tcjvw0)
1414

15-
1615
## Let's get started
1716

1817
Here are the commands used in the video. Be sure to use them appropriately.
1918

20-
2119
### Install ubuntu
2220

2321
https://ubuntu.com/
2422

25-
26-
### Install Docker
23+
### Install Docker
2724

2825
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
2926

@@ -38,7 +35,6 @@ $ sudo apt-get install \
3835
software-properties-common
3936
```
4037

41-
4238
```bash
4339
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4440
```
@@ -72,7 +68,6 @@ sudo usermod -aG docker $USER
7268
logout
7369
```
7470

75-
7671
### Install kubectl
7772

7873
https://kubernetes.io/docs/tasks/tools/install-kubectl/
@@ -95,39 +90,34 @@ kubectl version --client
9590

9691
### Install k3d
9792

98-
https://github.com/rancher/k3d
93+
[https://github.com/rancher/k3d](https://github.com/rancher/k3d)
9994

10095
```bash
10196
curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
10297
```
10398

104-
10599
### Install k3s
106100

107-
108101
```bash
109-
k3d cluster create portainer --api-port 6443 --servers 1 --agents 1 -p 30000-32767:30000-32767@server[0]
102+
k3d cluster create portainer --api-port 6443 --servers 1 --agents 1 -p 30000-32767:30000-32767@server:0
110103
```
111104

112-
113105
```bash
114-
k3d cluster create portainer --api-port 6443 --servers 1 --agents 1 -p "30000-32767:30000-32767@server[0]"
106+
k3d cluster create portainer --api-port 6443 --servers 1 --agents 1 -p "30000-32767:30000-32767@server:0"
115107
```
116108

117-
118109
### Install Portainer
119110

120-
https://github.com/portainer/k8s
111+
[https://github.com/portainer/k8s](https://github.com/portainer/k8s)
121112

122113
```bash
123114
kubectl create namespace portainer
124115
kubectl apply -n portainer -f https://raw.githubusercontent.com/portainer/k8s/master/deploy/manifests/portainer/portainer.yaml
125116
```
126117

127-
```
118+
```bash
128119
The Portainer UI is hosted on port `30777`
129120

130121

131122
Example: `http://192.168.0.1:30777`
132-
133-
```
123+
```

0 commit comments

Comments
 (0)