Noobie: Install using Portainer #785
Replies: 2 comments 3 replies
-
Hello, I'm not a container specialist myself. What I guess however, is that it doesn't find the Dockerfile because in the compose file it says that it's in the directory that you run the command: server:
build:
context: . You should make sure that you're in the root directory when you run the command. Or perhaps, change the context path to an absolute path instead of a relative one like: You can also get Kutt from the Docker hub by replacing the build field with image: server:
image: kutt/kutt If you're doing this then make sure you're passing environment variables directly or with a |
Beta Was this translation helpful? Give feedback.
-
Thank you @poeti8. I still had trouble with that. I modified the file as below. Is that what you were suggesting? services: The Error I get now is; |
Beta Was this translation helpful? Give feedback.
-
I am very new to docker/containers/portainer so forgive my ignorance.
I am trying to install Kutt using portainer.
I am using the default mariadb yaml file from Git and have added my Environment variables for the DB.
When I try to deploy the stack I am getting the following error:
Failed to deploy a stack: Service server Building failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
Can anyone tell me what I am doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions