Issues with docker container

Infos:

  • Used Zammad version: Latest (5.1)
  • Used Zammad installation type: Docker (fresh install / vanilla)

Expected behavior:

When running
zammad run rake assets:precompile
or
/opt/zammad/bin/rake assets:precompile
to see the asset compiled.

Actual behavior:

Error:

zammad run rake assets:precompile

bash: zammad: command not found

/opt/zammad/bin/rake assets:precompile

Yarn executable was not detected in the system.
Although yarn has been installed via npm and apt-get (when the first was not detected i’ve tried the second one.

Zammad is running normally on the front-end.

Did you run the command inside the docker container?

A docker installation is not a package installation and thus behaves like a source installation.
docs.zammad.org/en/latest/admin/console.html