+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


prepareserver.sh script fails

The prepareserver.sh script fails and returns the error 405 Method Not Allowed.


Explanation

The following error occurs when running the prepareserver.sh script to push the image to the IBM® Containers registry.

This error typically occurs if the Docker variables have been modified on the host environment. After executing the initenv.sh script, the tooling provides an option to override the local docker environment to connect to IBM Containers using native docker commands.


How to resolve

Do not modify the Docker variables (such as DOCKER_HOST and DOCKER_CERT_PATH) to point to the IBM Containers registry environment. For the prepareserver.sh script to work correctly, the Docker variables must point to the local Docker environment.

Parent topic: Troubleshooting tips