Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit c8d808d

Browse files
committed
Added to troubleshooting section
Added the "command not found" problem to the troubleshooting section.
1 parent 692987f commit c8d808d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ This image includes the core MQ server, Java, language packs, and GSKit. Other
8585

8686
# Troubleshooting
8787

88+
## Container command not found or does not exist
89+
This message also appears as "System error: no such file or directory" in some versions of Docker. This can happen using Docker Toolbox on Windows, and is related to line-ending characters. When you clone the Git repository on Windows, Git is often configured to convert any UNIX-style LF line-endings to Windows-style CRLF line-endings. Files with these line-endings end up in the built Docker image, and cause the container to fail at start-up. One solution to this problem is to stop Git from converting the line-ending characters, with the following command:
90+
91+
~~~
92+
git config --global core.autocrlf input
93+
~~~
94+
8895
## `mqconfig` fails
8996
When the container starts, it runs `mqconfig` to check the environment is OK. IBM MQ requires some kernel parameters to be set to particular values, which are not the default on many systems. You can fix this by issuing `sysctl` commands to configure the kernel. For example, to set the maximum number of open files, use `sysctl fs.file-max=524288`. See the section on "Preparing your Docker host" above for more details.
9097

0 commit comments

Comments
 (0)