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
docker run -d --name pg -e PG_USERNAME=postgres -e PG_PASSWORD=postgres -c=0 -m=512m myregistry:5000/official/postgres:9.3 | |
72958e26a5c86e528f4f400991f3c8478fbee34eb927e0ad6773f726a3ec4593 | |
docker run -d --name redis -c=0 -m=128m myregistry:5000/official/redis:2.8.19 | |
35fdacde1047e82997d0cb2304cfa7f203b3e3035d8d0e6c67bfad9cf7cce14b | |
docker run -d --name mongo -c=0 -m=128m myregistry:5000/official/mongo:2.6.7 | |
0835c3beed1a805737d503f1d44ebcc61630894d9ca45b73643a1e628d3b9d56 | |
docker run --rm -v /etc/localtime:/etc/localtime -e RAILS_ENV=staging --link pg:app_pg --link redis:app_redis --link mongo:app_mongodb -m=1700m -c=0 myregistry:5000/app:1.0.0-f524bb35d /bin/bash -xc 'rm -rf tmp/pids && bundle install && bundle exec rake db:create apartment:create db:seed:test && bundle exec unicorn' |
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
docker-machine --debug create --driver generic --engine-insecure-registry myprivatehub:5000 --generic-ip-address 172.23.10.115 --generic-ssh-user ubuntu --generic-ssh-key /home/myuser/.ssh/id_rsa vbox | |
Importing SSH key... | |
IP: 172.23.10.115 | |
Getting to WaitForSSH function... | |
Testing TCP connection to: 172.23.10.115:22 | |
Using SSH client type: external | |
About to run SSH command: | |
exit 0 | |
&{/usr/bin/ssh [/usr/bin/ssh -o PasswordAuthentication=no -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -i /home/myuser/.docker/machine/machines/vbox/id_rsa -p 22 [email protected] exit 0] [] <nil> <nil> <nil> [] <nil> <nil> <nil> ?reflect.Value? false [] [] [] [] <nil>} |
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
docker-machine create --driver generic --engine-insecure-registry myregistry:5000 --generic-ip-address 172.23.10.27 --generic-ssh- | |
user vagrant --generic-ssh-key /home/<myuser>/.ssh/id_rsa vbox | |
Importing SSH key... | |
Error getting SSH command to check if the daemon is up: exit status 1 | |
Error getting SSH command to check if the daemon is up: exit status 1 | |
Error getting SSH command to check if the daemon is up: exit status 1 | |
Error getting SSH command to check if the daemon is up: exit status 1 | |
Error getting SSH command to check if the daemon is up: exit status 1 | |
Error getting SSH command to check if the daemon is up: exit status 1 | |
Error getting SSH command to check if the daemon is up: exit status 1 |
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
-- Logs begin at Wed 2014-09-17 10:41:18 UTC, end at Fri 2014-09-19 11:14:39 UTC. -- | |
Sep 17 10:41:23 localhost systemd[1]: Starting Hostname Service... | |
Sep 17 10:41:23 deis-server2 systemd-hostnamed[606]: Changed static host name to 'deis-server2' | |
Sep 17 10:41:23 deis-server2 systemd-hostnamed[606]: Changed host name to 'deis-server2' | |
Sep 17 10:41:23 deis-server2 systemd[1]: Started Hostname Service. | |
-- Reboot -- | |
Sep 17 10:58:00 deis-server2 systemd[1]: Starting Hostname Service... | |
Sep 17 10:58:00 deis-server2 systemd[1]: Started Hostname Service. | |
-- Reboot -- | |
Sep 17 12:49:22 deis-server2 systemd[1]: Starting Hostname 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
-- Logs begin at Wed 2014-09-17 10:41:18 UTC, end at Fri 2014-09-19 10:02:34 UTC. -- | |
Sep 19 09:43:01 deis-server2 coreos-cloudinit[564]: Checking availability of "local-file" | |
Sep 19 09:43:01 deis-server2 coreos-cloudinit[564]: Fetching user-data from datasource of type "local-file" | |
Sep 19 09:43:01 deis-server2 coreos-cloudinit[564]: Fetching meta-data from datasource of type "local-file" | |
Sep 19 09:43:01 deis-server2 coreos-cloudinit[564]: 2014/09/19 09:42:25 Parsing user-data as cloud-config | |
Sep 19 09:43:01 deis-server2 coreos-cloudinit[564]: Processing cloud-config from user-data | |
Sep 19 09:43:01 deis-server2 coreos-cloudinit[564]: Failed to apply cloud-config: exit status 1 | |
Sep 19 09:43:01 deis-server2 systemd[1]: user-cloudinit@var-lib-coreos\x2dinstall-user_data.service: main process exited, code=exited, status=1/FAILURE | |
Sep 19 09:43:01 deis-server2 systemd[1]: Failed to start Load cloud-config from /var/lib/coreos-install/user_data. | |
Sep 19 09:43:01 deis-server2 systemd[1]: Unit user-cloudinit@var-lib-core |
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
-- Logs begin at Wed 2014-09-17 10:41:18 UTC, end at Fri 2014-09-19 09:46:44 UTC. -- | |
Sep 19 09:42:21 localhost systemd-journal[127]: Runtime journal is using 8.0M (max allowed 400.2M, trying to leave 600.3M free of 3.9G available → current limit 400.2M). | |
Sep 19 09:42:21 localhost systemd-journal[127]: Runtime journal is using 8.0M (max allowed 400.2M, trying to leave 600.3M free of 3.9G available → current limit 400.2M). | |
Sep 19 09:42:21 localhost kernel: Initializing cgroup subsys cpuset | |
Sep 19 09:42:21 localhost kernel: Initializing cgroup subsys cpu | |
Sep 19 09:42:21 localhost kernel: Initializing cgroup subsys cpuacct | |
Sep 19 09:42:21 localhost kernel: Linux version 3.15.8+ (buildbot@ip-10-204-3-57) (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.13, pie-0.5.2) ) #2 SMP Fri Aug 15 22:29:31 UTC 2014 | |
Sep 19 09:42:21 localhost kernel: Command line: init=/usr/lib/systemd/systemd console=ttyS0,115200n8 console=tty0 ro noswap cros_legacy root=LABEL=ROOT rootflags=subvol=root usr=gptprio: usr=PARTUUID=7130c94a-213a-4e |
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
-- Logs begin at Wed 2014-09-17 10:41:18 UTC, end at Fri 2014-09-19 09:19:29 UTC. -- | |
Sep 19 07:09:16 deis-server2 coreos-cloudinit[561]: Checking availability of "local-file" | |
Sep 19 07:09:16 deis-server2 coreos-cloudinit[561]: Fetching user-data from datasource of type "local-file" | |
Sep 19 07:09:16 deis-server2 coreos-cloudinit[561]: Fetching meta-data from datasource of type "local-file" | |
Sep 19 07:09:16 deis-server2 coreos-cloudinit[561]: 2014/09/19 07:08:38 Parsing user-data as cloud-config | |
Sep 19 07:09:16 deis-server2 coreos-cloudinit[561]: Processing cloud-config from user-data | |
Sep 19 07:09:16 deis-server2 coreos-cloudinit[561]: Failed to apply cloud-config: exit status 1 | |
Sep 19 07:09:16 deis-server2 systemd[1]: user-cloudinit@var-lib-coreos\x2dinstall-user_data.service: main process exited, code=exited, status=1/FAILURE | |
Sep 19 07:09:16 deis-server2 systemd[1]: Failed to start Load cloud-config from /var/lib/coreos-install/user_data. | |
Sep 19 07:09:16 deis-server2 systemd[1]: Unit user-cloudinit@var-lib-core |
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
#cloud-config | |
hostname: deis-server2 | |
users: | |
- name: devops | |
passwd: $6$rounds=4096$z3E4YVD5Jq$VmaIx64Ab2pS6I0lZKMWrsvDDcQ8tv2.c1.EfDh9W2haEvzFjeKhYg2wu7ZZEttwNFBs9QUvrQxvYORLiR/qV. #devops | |
groups: | |
- sudo | |
- docker | |
coreos: | |
etcd: |
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
# required to run in a container | |
daemon off; | |
user www-data; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; |