Docker Build from compose using a Dockerfile from Host?

“doesn’t work” is rarely helpful for others that are not sitting in front of your screen. Please start sharing exact error messages (as in copy/paste them), so we don’t have to guess what exactly doesn’t work.

On another note: an api client must be able to access the files/folders, to pass the client side verification. I assume you did not bind the host path /home/docker into the Portainer container’s path /home/docker.

I never understood why people use Portainer for anything else that execing into containers, and checking logs… It just adds another layer of complexity that leads to confusion, if not properly understood. Functional issues caused by using Portainer, are best discussed in a Portainer related forum amongst peers that use Portainer as well.

1 Like