Thank you Ella. That explains the issue. So to get around it, I’m trying to create my own image with Rasa X in server mode. I’ve put the instructions from https://rasa.com/docs/rasa-x/deploy/ into by Dockerfile and it builds but won’t run.
RUN apt-get update && apt-get install -y curl sudo apt-utils wget \
&& sudo curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose \
&& sudo chmod +x /usr/local/bin/docker-compose \
&& curl -sSL -o install.sh https://storage.googleapis.com/rasa-x-releases/0.23.5/install.sh \
&& sudo bash ./install.sh
EXPOSE 22 80 443 5002 5005
CMD ["/usr/local/bin/docker-compose", "up", "-d"]
It builds with a few warnings but seems to complete the build. But when I run it, I get this error:
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
It looks like Docker isn’t properly starting inside the image.
Is the original Dockerfile which creates the DockerHub version of Rasa/Rasa-X image available? I can’t find it on GitHub. I think modifying that might return better results.