Unable to access saved workflow using docker container

Describe the issue/error/question

I can’t access the workflows that I saved from the web interface. Can someone help me resolving my problem ?
Running with root user from /opt/docker/n8n:
docker build --build-arg N8N_VERSION=0.169.0 -f ./Dockerfile -t n8n-flow .
docker-compose up -d

The GitHub from which I took most of my infos/setup.

Take close attention to the first line of Dockerfile because you need the image node:14.15-alpine to make it work.

./Dockerfile :

FROM node:14.15-alpine


RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi

# Update everything and install needed dependencies
RUN apk add --update graphicsmagick tzdata git tini su-exec

# # Set a custom user to not have n8n run as root
USER root

# Install n8n and the also temporary all the packages
# it needs to build it correctly.
RUN apk --update add --virtual build-dependencies python3 build-base ca-certificates && \
        npm config set python "$(which python3)" && \
        npm_config_user=root npm install -g full-icu [email protected]${N8N_VERSION} && \
        apk del build-dependencies \
        && rm -rf /root /tmp/* /var/cache/apk/* && mkdir /root;

# Install fonts
RUN apk --no-cache add --virtual fonts msttcorefonts-installer fontconfig && \
        update-ms-fonts && \
        fc-cache -f && \
        apk del fonts && \
        find  /usr/share/fonts/truetype/msttcorefonts/ -type l -exec unlink {} \; \
        && rm -rf /root /tmp/* /var/cache/apk/* && mkdir /root

ENV NODE_ICU_DATA /usr/local/lib/node_modules/full-icu


COPY docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]

EXPOSE 5678/tcp

./docker-compose.yml :

version: "3"

    image: n8n-flow
    restart: always
      - "5678:5678"
      - N8N_BASIC_AUTH_ACTIVE=false
      - N8N_PORT=${N8N_PORT}
      - N8N_PROTOCOL=http
      - NODE_ENV=production
      - N8N_PATH
      - WEBHOOK_URL=http://${DOMAIN_NAME}${N8N_PATH}
      - /var/run/docker.sock:/var/run/docker.sock
      - ${DATA_FOLDER}/n8n:/root/.n8n

./docker-entrypoint.sh :


if [ -d /root/.n8n ] ; then
  chmod o+rx /root
  chown -R node /root/.n8n
  ln -s /root/.n8n /home/node/

chown -R node /home/node

if [ "$#" -gt 0 ]; then
  # Got started with arguments
  exec su-exec node "[email protected]"
  # Got started without arguments
  exec su-exec node n8n



What is the error message (if any)?

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:0.169.0
  • Database you’re using (default: SQLite): raspberry pi 4 B
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hey @Chneater,

Welcome to the community :raised_hands:

Your env file has no domain set but the screenshot is trying to load content from a .local domain, has this been set in the file and does it resolve correctly?

There were some changes made to use Node 16 so you may need to try an earlier version of n8n as well but I would have expected the latest release to work on ARM.