fix the /root to /kaniko
@@ -159,9 +159,9 @@ Create a `config.json` file with your Docker registry url and the previous gener
}
```
-Run kaniko with the `config.json` inside `/root/.docker/config.json`
+Run kaniko with the `config.json` inside `/kaniko/.docker/config.json`
- docker run -ti --rm -v `pwd`:/workspace -v config.json:/root/.docker/config.json:ro gcr.io/kaniko-project/executor:latest --dockerfile=Dockerfile --destination=yourimagename
+ docker run -ti --rm -v `pwd`:/workspace -v config.json:/kaniko/.docker/config.json:ro gcr.io/kaniko-project/executor:latest --dockerfile=Dockerfile --destination=yourimagename
#### Pushing to Amazon ECR
The Amazon ECR [credential helper](https://github.com/awslabs/amazon-ecr-credential-helper) is built in to the kaniko executor image.
