containers / build

another build tool for container images (archived, see https://github.com/rkt/rkt/issues/4024)
Apache License 2.0
342 stars 80 forks source link

set-working-directory #209

Open farazfazli opened 8 years ago

farazfazli commented 8 years ago

Hello,

Mounting volumes didn't work for me until I used acbuild set-working-directory...is this needed to mount volumes when building ACIs? I didn't see it in the NGINX example and would appreciate some info showing exactly when and under which setting the working directory is needed. Possibly I just missed something when running my acbuild commands which is why I needed to add it.

Thank you!

jonboulle commented 8 years ago

I don't really see why that should be necessary. What happened when you didn't have it provided?

farazfazli commented 8 years ago

@jonboulle The container wasn't able to write to or read from the files in the location I mounted to. I didn't change anything except set the working directory.

jonboulle commented 8 years ago

ok, I bet @dgonyeo can investigate :-)

On Thu, May 19, 2016 at 6:06 PM, Faraz Fazli notifications@github.com wrote:

@jonboulle https://github.com/jonboulle The container wasn't able to write to or read to the files in the location I mounted to. I didn't change anything except set the working directory.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/appc/acbuild/issues/209#issuecomment-220372551

cgonyeo commented 8 years ago

Sorry about the lengthy delay, school was ending and things were very hectic. This sounds very interesting though, is there any chance you still have an acbuild script and/or the ACIs that exhibited this behavior? acbuild set-working-directory shouldn't impact how mounts work at all.