...
Go back to the main directory (where the docker-compose.yml file is located) and do the following:
Code Block | ||
---|---|---|
| ||
docker-compose up -d
# Use docker-compose up to run it in foreground
# Docker images will be locally built | ||
| ||
# On some systems, the EOL encoding needs to be fixed for the docker-entrypoint.sh file:
sed -i -e 's/\r$//' ui/docker-entrypoint.sh
# In case your are testing the system in Windows, quickly execute a ``docker-compose logs nginx`` and check the output. If there is an error, you need to fix the line encoding of
# docker-entrypoint.sh.
# Open the file | ||
Info | ||
| ||
There is a known problem when build a Docker image from source under Windows related to proper end-of-line encoding for Docker builds. In case your are testing the system in Windows, quickly execute a ``docker-compose logs nginx`` and check the output. If there is an error, you need to fix the line encoding of docker-entrypoint.sh. Open the fileui/docker-entrypoint.sh, change the eol encoding to "LF" (e.g., in Notepad++ by clicking on "Windows CRLF" in the bottom status bar) and re-run the Docker build by # executing ``docker-compose rebuild --no-cache nginx``. Start the container with executing ``docker-compose up -d nginx``. |
Code Block | ||
---|---|---|
| ||
docker-compose up -d
# Use docker-compose up to run it in foreground
# Docker images will be locally built |
Once you're done with that, proceed to the next step. Before we test the whole system, we'll build and run the extensions.
...