Skip to content

Commit 231d780

Browse files
Stefan WaltherStefan Walther
Stefan Walther
authored and
Stefan Walther
committed
Update docs
1 parent 8dae18c commit 231d780

File tree

4 files changed

+29
-2
lines changed

4 files changed

+29
-2
lines changed

docs/play-with-it.md

+9
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,16 @@ r0wadfsir91i vote_visualizer.1 dockersamples/visualizer:stable m
7272
t06c27xx664r vote_result.1 dockersamples/examplevotingapp_result:before manager-1 Running Running 2 minutes ago
7373
```
7474

75+
**List the services**
7576

77+
```sh
78+
$ docker service ls
79+
```
80+
81+
Result:
82+
```sh
83+
84+
```
7685

7786

7887
### Inspect the stack

local-rancher/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# Rancher on your local machine
22

3+
## Summary
4+
5+
Use rancher to manager a set of machines locally.
6+
7+

local-vagrant/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ vagrant ssh <machine-name>
6565

6666
Destroy machine + resources created:
6767
```sh
68-
$ vagrant destroy --force
68+
$ sh destroy.sh
6969
```
7070
Stops the running machine Vagrant is managing and destroys all resources that were created during the machine creation process
7171
[Vagrant => destroy](https://www.vagrantup.com/docs/cli/destroy.html)
@@ -78,7 +78,7 @@ If you want to see how long it takes to set up your environment, prepend the `va
7878
$ time vagrant up
7979
```
8080

81-
### Troubleshooting
81+
### Troubleshooting & Debugging
8282

8383
See [Debugging](https://www.vagrantup.com/docs/other/debugging.html) in the official Vagrant documentation.
8484

@@ -95,6 +95,8 @@ $ vagrant up --debug &> vagrant.log
9595
# $ vagrant up --debug > vagrant.log 2>&1
9696
```
9797

98+
99+
98100
## Screenshots
99101

100102
### Creation Process
@@ -114,6 +116,8 @@ $ vagrant up --debug &> vagrant.log
114116
- [ ] Make IP-addresses dynamic
115117
- [ ] Use the same docker-stack.yml file as in the other examples
116118
- [ ] Echo a nice summary of what has been set-up
119+
- [ ] Would be nice to fully test the entire script
120+
- [ ] Take newest ubuntu release or think of a thinner OS
117121

118122
## Reference links
119123

local-vagrant/Vagrantfile

+9
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ SHELL
4949
`cat /vagrant/.vagrant/swarm-manager-ip`:2377
5050
SHELL
5151

52+
@showResuls = <<SHELL
53+
54+
echo "PLAY WITH IT:";
55+
echo "";
56+
echo "";
57+
58+
59+
SHELL
60+
5261
@deploySwarm = <<SHELL
5362
5463
cd /vagrant;

0 commit comments

Comments
 (0)