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
dell@dell-PowerEdge-R630:~$ sudo docker images | |
REPOSITORY TAG IMAGE ID CREATED SIZE | |
docker <none> 2dd09a452aed 3 weeks ago 105 MB | |
ajeetraina/scaleio-tb latest 45fa3963768c 5 weeks ago 465 MB | |
ajeetraina/scaleio-secondary-mdm latest f7a464cb2d06 5 weeks ago 465 MB | |
ajeetraina/scaleio-primary-mdm latest c9806a4f36ab 5 weeks ago 465 MB | |
ajeetraina/webmin latest 287b608ed127 5 weeks ago 406 MB | |
mysql latest d9124e6c552f 6 weeks ago 383 MB | |
ajeetraina/dell-oob-monitoring latest 20a961769f73 8 weeks ago 946 MB | |
ajeetraina/dell-oob-test1 latest 20a961769f73 8 weeks ago 946 MB |
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
bash-3.2# docker version | |
Client: | |
Version: 1.13.0 | |
API version: 1.25 | |
Go version: go1.7.3 | |
Git commit: 49bf474 | |
Built: Wed Jan 18 16:20:26 2017 | |
OS/Arch: darwin/amd64 | |
Server: |
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
bash-3.2# vi swarm-mode-setup.sh | |
bash-3.2# chmod +x swarm-mode-setup.sh | |
bash-3.2# ./swarm-mode-setup.sh | |
======> Creating 3 manager machines ... | |
======> Creating manager1 machine ... | |
Running pre-create checks... | |
Creating machine... | |
(manager1) Copying /var/root/.docker/machine/cache/boot2docker.iso to /var/root/.docker/machine/machines/manager1/boot2docker.iso... | |
(manager1) Creating VirtualBox VM... | |
(manager1) Creating SSH key... |
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
Running Multi-arch on Mac OS X | |
bash-3.2# docker run -d -v /prometheus.yml:/etc/prometheus/prometheus.yml ajeetraina/prometheus-armv7 | |
Unable to find image 'ajeetraina/prometheus-armv7:latest' locally | |
latest: Pulling from ajeetraina/prometheus-armv7 | |
125cacf2729a: Pull complete | |
a3ed95caeb02: Pull complete | |
441553076b27: Pull complete | |
cac898f3f2ae: Pull complete |
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
version: "3.1" | |
services: | |
wordpress: | |
image: "wordpress:latest" | |
ports: | |
- "80:80" | |
networks: | |
- collabapp | |
secrets: | |
- source: "foo" |
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
version: "3.1" | |
services: | |
db: | |
image: "mysql:latest" | |
networks: | |
collabnet: | |
aliases: ["db"] | |
volumes: | |
- "db_data:/var/lib/mysql" |
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
version: "3.1" | |
services: | |
mysql: | |
image: "mysql" | |
networks: | |
test: | |
aliases: ["mysql"] | |
volumes: | |
- "db_data:/var/lib/mysql" | |
secrets: |
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
root@master101:~# docker service ls | |
ID NAME MODE REPLICAS IMAGE | |
root@master101:~# docker secret ls | |
ID NAME CREATED UPDATED | |
Step-2: | |
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
Installing RexRay Plugin: | |
raina@master101:~$ docker plugin install rexray/gcepd \ | |
> GCEPD_TAG=rexray | |
Plugin "rexray/gcepd" is requesting the following privileges: | |
- network: [host] | |
- mount: [/dev] | |
- allow-all-devices: [true] | |
- capabilities: [CAP_SYS_ADMIN] | |
Do you grant the above permissions? [y/N] y |
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
Once you clone the Portus Repository, you can run the below command to build up Local private Registry: | |
[root@wiki Portus]# ./compose-setup.sh -e 10.94.214.207 -e 5000 | |
########### | |
# WARNING # | |
########### | |
This deployment method is intended for testing/development purposes. | |
To deploy Portus on production please take a look at: http://port.us.org/documentation.html |