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
sudo sed -i '/^ExecStart=/ s/$/ $DOCKER_OPTS/' /lib/systemd/system/docker.service && | |
sudo sed -i '9i EnvironmentFile=/etc/default/docker' /lib/systemd/system/docker.service && sudo sed -i '14i DOCKER_OPTS="--experimental"' /etc/default/docker && \ | |
sudo systemctl daemon-reload && \ | |
sudo systemctl restart docker.service |
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
SOFTWARE TO INSTALL: | |
=========================== | |
IIS Server | |
IIS Roles & Services | |
ASP.NET Framework & All Features | |
Microsoft (R) Visual Studio Runtime. | |
Microsoft SQL Express 2012 SP1 with Essentials specific instance (SQLEXPRESSOME) | |
IPMI Utility |
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: | |