Create a file called /media/state/units/docker-local.service that has the following contents:
[Unit]
Description=docker local
[Service]
PermissionsStartOnly=true
| HTTP ERROR 500 | |
| Problem accessing /ac2.server.core/. Reason: | |
| Error creating bean with name 'jsonDispatcher' defined in URL [file:ac.resources/configs/server-beans.xml]: Cannot resolve reference to bean 'invoker' while setting bean property 'invoker'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'invoker' defined in URL [file:ac.resources/configs/server-beans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jsonDispatcher' defined in URL [file:ac.resources/configs/server-beans.xml]: Cannot resolve reference to bean 'invoker' while setting bean property 'invoker'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'invoker' defined in URL [file:ac.resources/configs/server-beans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: |
| # Create a new SSH keypair with a different name. Eg. `my_alternative_key`, then in your ~/.ssh/config SSH config, add the following. Then you can connect via SSH (and of course Git) using `ssh://git@my_alternative_key:USER/REPO` | |
| Host my_alternative_key | |
| Hostname github.com | |
| IdentityFile /home/MYUSER/.ssh/my_alternative_key |
| $ go build github.com/docker/libcontainer/nsinit | |
| # github.com/docker/libcontainer/namespaces | |
| namespaces/nsenter.go:7:10: fatal error: 'linux/sched.h' file not found | |
| #include <linux/sched.h> | |
| ^ | |
| 1 error generated. |
| joelmoss@qa:~/images/base$ ssh root@localhost -p 49155 -v | |
| OpenSSH_6.2p2 Ubuntu-6ubuntu0.1, OpenSSL 1.0.1e 11 Feb 2013 | |
| debug1: Reading configuration data /etc/ssh/ssh_config | |
| debug1: /etc/ssh/ssh_config line 4: Applying options for * | |
| debug1: Connecting to localhost [127.0.0.1] port 49155. | |
| debug1: Connection established. | |
| debug1: identity file /home/joelmoss/.ssh/id_rsa type -1 | |
| debug1: identity file /home/joelmoss/.ssh/id_rsa-cert type -1 | |
| debug1: identity file /home/joelmoss/.ssh/id_dsa type 2 | |
| debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024 |
| NoMethodError | |
| ------------- | |
| No resource or method named `mount' for `Chef::Recipe "home_image"' | |
| Cookbook Trace: | |
| --------------- | |
| /var/chef/cache/cookbooks/fileserver/recipes/home_image.rb:18:in `from_file' | |
| /var/chef/cache/cookbooks/fileserver/recipes/default.rb:29:in `from_file' | |
| /var/chef/cache/cookbooks/fileserver/recipes/role.rb:12:in `from_file' |
| Last login: Wed Dec 18 17:11:36 on ttys004 | |
| ~/dev/applicationcraft/codio/chef-repo ± master ● ssh [email protected] | |
| Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-54-virtual x86_64) | |
| * Documentation: https://help.ubuntu.com/ | |
| System information as of Wed Dec 18 17:35:40 UTC 2013 | |
| System load: 0.0 Processes: 70 | |
| Usage of /: 25.5% of 7.87GB Users logged in: 1 |
| include_recipe 'aws' | |
| # The AWS cookbook requires your AWS access key and secret, so we store these in the `keys/aws` | |
| # encrypted data bag item. | |
| search(:keys, 'id:aws') do |s| | |
| keys = Chef::EncryptedDataBagItem.load('keys', 'aws') | |
| # Mount EBS Raid volumes. See https://github.com/opscode-cookbooks/aws#ebs_raidrb | |
| ebs_raid do | |
| aws_secret_access_key keys['secret_access_key'] |
| resolving cookbooks for run list: ["apt", "build-essential", "chef-client::delete_validation", "chef-client", "mongodb::10gen_repo", "mongodb::replicaset"] | |
| Synchronizing Cookbooks: | |
| - apt | |
| - build-essential | |
| - chef-client | |
| $ packer build -debug packer/packer.json | |
| Debug mode enabled. Builds will not be parallelized. | |
| virtualbox output will be in this color. | |
| ==> virtualbox: Downloading VirtualBox guest additions. Progress will be shown periodically. | |
| ==> virtualbox: Pausing after run of step 'stepDownloadGuestAdditions'. Press any key to continue. | |
| ==> virtualbox: Copying or downloading ISO. Progress will be reported periodically. | |
| ==> virtualbox: Pausing after run of step 'stepDownloadISO'. Press any key to continue. | |
| ==> virtualbox: Pausing after run of step 'stepPrepareOutputDir'. Press any key to continue. | |
| ==> virtualbox: Pausing before cleanup of step 'stepPrepareOutputDir'. Press any key to continue. |