Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need to install docker helpers on the docker server #13

Open
timlinux opened this issue Jul 15, 2015 · 6 comments
Open

We need to install docker helpers on the docker server #13

timlinux opened this issue Jul 15, 2015 · 6 comments
Assignees

Comments

@timlinux
Copy link
Contributor

cd /usr/local/
git clone git://github.com/kartoza/docker-helpers.git
echo export "PATH=\$PATH:/usr/local/docker-helpers" | sudo tee --append vim /etc/bash.bashrc 

Verification:

dps

Expected output (will vary depending on which docker containers are running):

timlinux@docker:/data/jenkins.inasafe.org$ dps
CONTAINER ID        IMAGE                       COMMAND                CREATED             STATUS              PORTS                    NAMES       
669771bd0d10        tutum/wordpress-stackable   "/run.sh"              13 hours ago        Up 13 hours         0.0.0.0:8101->80/tcp     inasafeorg_wordpress_1   
056b4d688686        tutum/mysql:5.5             "/run.sh"              13 hours ago        Up 13 hours         3306/tcp                 inasafeorg_db_1 
@timlinux
Copy link
Contributor Author

@hvisage this is for you but I can't assign it to you until you accept you invitation to this repo.

@hvisage
Copy link
Contributor

hvisage commented Jul 16, 2015

Try now to assign it to me :)

@hvisage
Copy link
Contributor

hvisage commented Jul 16, 2015

Must this be ansible scripted, or just manually installed?

@timlinux
Copy link
Contributor Author

I've already done it manually on the docker server - I wrote this ticket so that we can include this step in our standard server setup run-through. Thanks!

Please note that we have started deploying things on the docker server as we could not wait any longer for a fully automated solution to be in place so if you are testing the deployment process take care not to trash the docker KVM. :-P

@hvisage
Copy link
Contributor

hvisage commented Jul 16, 2015

Last two questions:

  1. Given the "cd /usr/local" and the portion: "| sudo tee --append vim /etc/bash.bashrc"
    Why do you write/append to the file /usr/local/vim ?

  2. is there a specific VERSION we need, or is the default "HEAD" good enough?
    From http://docs.ansible.com/git_module.html:

What version of the repository to check out. This can be the full 40-character SHA-1 hash, the literal string HEAD, a branch name, or a tag name.

@timlinux
Copy link
Contributor Author

hi

  1. Given the "cd /usr/local" and the portion: "| sudo tee --append vim /etc/bash.bashrc"
    Why do you write/append to the file /usr/local/vim ?

Good catch, the vim should be removed, thanks.

  1. is there a specific VERSION we need, or is the default "HEAD" good enough?

Yes from HEAD / current latest version is good thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants