Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self hosting error? #10

Closed
Cappyadams opened this issue Apr 25, 2024 · 6 comments · Fixed by #12
Closed

Self hosting error? #10

Cappyadams opened this issue Apr 25, 2024 · 6 comments · Fixed by #12

Comments

@Cappyadams
Copy link

So, I was about to do the thing. but I got an error when using the docker command

The error:

At line:2 char:5
+   --name blogo \
+     ~
Missing expression after unary operator '--'.
At line:2 char:5
+   --name blogo \
+     ~~~~
Unexpected token 'name' in expression or statement.
At line:3 char:5
+   --env-file .env \
+     ~
Missing expression after unary operator '--'.
At line:3 char:5
+   --env-file .env \
+     ~~~~~~~~
Unexpected token 'env-file' in expression or statement.
At line:4 char:5
+   --volume $(pwd)/articles:/app/articles \
+     ~
Missing expression after unary operator '--'.
At line:4 char:5
+   --volume $(pwd)/articles:/app/articles \
+     ~~~~~~
Unexpected token 'volume' in expression or statement.
At line:5 char:5
+   --publish 3000:3000 \
+     ~
Missing expression after unary operator '--'.
At line:5 char:5
+   --publish 3000:3000 \
+     ~~~~~~~
Unexpected token 'publish' in expression or statement.
At line:6 char:5
+   --detach \
+     ~
Missing expression after unary operator '--'.
At line:6 char:5
+   --detach \
+     ~~~~~~
Unexpected token 'detach' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

What's this issue? I tried googling it but found pretty much nothing

@pluja
Copy link
Owner

pluja commented Apr 25, 2024

where are you running this?

@Cappyadams
Copy link
Author

where are you running this?

What do you mean? Sorry for the dumb questions, I'm still learning-

@pluja
Copy link
Owner

pluja commented Apr 26, 2024

no worries, are you running on Linux, if so, is it on a Raspberry?

the error you sent is indicates that wherever you ran the command is not recongnizing any part of it

@Cappyadams
Copy link
Author

I'm on windows 11

@pluja
Copy link
Owner

pluja commented Apr 27, 2024

I am not sure how Docker works on Windows, I am only able to test on Linux since I don't have any Windows computer available. It seems like you will need something like Docker Desktop for Windows:

https://docs.docker.com/desktop/install/windows-install/

@ItsRaelx
Copy link
Contributor

ItsRaelx commented Apr 28, 2024

@Cappyadams you should try running it with docker-compose as it is already built into docker desktop for windows.

@pluja pluja closed this as completed in #12 Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants