Microgateway Docker set up is failing

Not applicable

I have followed the steps in this link

https://apigee.com/about/blog/api-technology/running-apigee-edge-microgateway-docker-container

In the final step

docker run --env-file ./<org>-<env>-env.list -p 8000:8000 -v <directory containing configuration>:/root/.edgemicro -d -t ndietz/emgw

docker run --env-file C:\Users\_nairr\.edgemicro\rahulnair-eval-test-env.list -p 8000:8000 -v C:\Users\_nairr\.edgemicro:/root/.edgemicro -d -t ndietz/emgw

I am getting the below error

docker: Error response from daemon: invalid mode: /root/.edgemicro.. I tried in CMD and Windows powershell, i am getting the same error

0 6 218
6 REPLIES 6

Not applicable

@srinandans could you please check

Former Community Member
Not applicable

@srinandans the link you shared for Docker also has Kubernetes, do i need the same to run the Microgateway in Docker container

Former Community Member
Not applicable

The second is link is for Docker only.

My configuration file is not copied to the Docker container, it says Base 64 input is incorrect

Former Community Member
Not applicable

please base64 encode it twice. the output of one base64 as input to base64 the second time.