This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
Backward compatibility issue with valid Dockerfile starting container process caused "chdir to cwd (\"/app\") set in config.json failed: not a directory #171
Labels
Hi everyone!
While copying an existing docker file, I ran into an error...
container_linux.go:247: starting container process caused "chdir to cwd (\"/app\") set in config.json failed: not a directory"container_linux.go:247: starting container process caused "chdir to cwd (\"/app\") set in config.json failed: not a directory"
The same file content in the original Dockerfile works with adocker build -t sometag .
call.Steps to reproduce
git clone https://github.com/dotnet/dotnet-docker-samples/
cd dotnetapp-dev
cp Dockerfile Rockerfile
rocker build
Versions
rocker --version
rocker version 1.3.0 - 9444404 (master) 2016-07-20_13:43_GMT
docker --version
Docker version 1.13.0, build 49bf474
Background
I don't have any background in dotnet, but was trying to help someone set up a docker based pipeline using rocker. This is my first time using rocker, and I ran into an issue. I was trying to use a 'dev' container, build an artifact, export it, import it to a 'prod' container, and not require the full sdk.
Before I could even try to use the import/export functionality to bring the build artifact across to the deployment container, I ran into an issue that causes me to believe there are some backwards compatibility issues between the Dockerfile as a Rockerfile (with my current rocker and docker versions).
Thanks in advance for our help or advice!
The text was updated successfully, but these errors were encountered: