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

Document a helper script to SSH into a beaker docker container #329

Merged
merged 1 commit into from
Apr 15, 2017

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Mar 24, 2017

As suggested #324 (comment)

@@ -98,3 +98,17 @@ If you don't want to have to recreate the virtual machine every time you
can use `BEAKER_DESTROY=no` and `BEAKER_PROVISION=no`. On the first run you will
at least need `BEAKER_PROVISION` set to yes (the default). The Vagrantfile
for the created virtual machines will be in `.vagrant/beaker_vagrant_fies`.

When using docker you can log in using SSH. The password is always `root`. A
simple script can be used to easily log in:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd note that jq is required as well. They'd find out anyway but doesn't hurt to warn ahead of time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

@vinzent
Copy link
Contributor

vinzent commented Apr 11, 2017

Why using ssh?

What about docker exec -it -u root ${container_id_or_name} bash ?

@ekohl
Copy link
Member Author

ekohl commented Apr 11, 2017

I mostly mirrored what beaker did but that's even better.

@ekohl
Copy link
Member Author

ekohl commented Apr 11, 2017

Simplified it with the advice of @vinzent

@vinzent vinzent merged commit 33c0e24 into voxpupuli:master Apr 15, 2017
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

Successfully merging this pull request may close these issues.

4 participants