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

upload via docker data dir #14

Closed
wants to merge 1 commit into from
Closed

upload via docker data dir #14

wants to merge 1 commit into from

Conversation

yewton
Copy link
Contributor

@yewton yewton commented Jun 19, 2015

There are 2 problems.

  1. upload requires same version(BSD or GNU) tar command on local and remote, otherwise it raises annoying warnings ( cf. http://superuser.com/questions/318809/linux-os-x-tar-incompatibility-tarballs-created-on-os-x-give-errors-when-unt)
  2. it always removes all files under remote dir, so when multiple files in the same directory are uploaded, existing files are removed one after another. This causes an error while kitchen verify with busser-serverspec.

To avoid these problems, I decided to mount a directory on container and communicate via it.

Is this reasonable approach? Any other ideas?

Thanks in advance.

@marcy-terui
Copy link
Owner

Thanks for your contribution 😃

Using the data volume can not set DOCKER_HOST to remote.

But I don't have a good idea : -(

Let me think about it.

@yewton
Copy link
Contributor Author

yewton commented Jun 22, 2015

It seems the problem 2 is #16 , so just stopping rm -rf #{remote}/* should solve the problem 😰
The problem 1 is not critical, so I'll close this PR/issue.
Thanks!

@yewton yewton closed this Jun 22, 2015
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.

2 participants