We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I ran into a bit of an issue today when I was executing something like this:
image = Docker::Image.all.first puts image.run("echo 'foo bar'").attach
The outputted result is 'foo bar' instead of the expected foo bar. I think what's causing this is the line: https://github.com/swipely/docker-api/blob/master/lib/docker/image.rb#L20.
'foo bar'
foo bar
Is there a reason for this behavior? If so, how could I avoid this issue? I do want to be able to use quotes and other bash goodies.
The text was updated successfully, but these errors were encountered:
Never mind; I found a (relatively wacky) way to circumvent this issue:
puts image.run("/bin/bash", "-c", "echo 'foo bar'").attach
Sorry for the false alarm.
Sorry, something went wrong.
No branches or pull requests
Hi,
I ran into a bit of an issue today when I was executing something like this:
The outputted result is
'foo bar'
instead of the expectedfoo bar
. I think what's causing this is the line: https://github.com/swipely/docker-api/blob/master/lib/docker/image.rb#L20.Is there a reason for this behavior? If so, how could I avoid this issue? I do want to be able to use quotes and other bash goodies.
The text was updated successfully, but these errors were encountered: