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

please updat the doccuments to mention the startup command need root permission to run on linux OS #59

Open
guoapeng opened this issue Jul 2, 2024 · 0 comments

Comments

@guoapeng
Copy link

guoapeng commented Jul 2, 2024

When I first time startup the application in local, I got the following error by following the instructions on readme page.

there are two issue one is a warnning the version is obsolete, that could be because my docker compose version is higher than the project expected. but there is no mention about the required docker compose version on the readme page. could you mention the corresponding docker compose version on readme page or fix the warning to compatible with higher docker compose version? the docker compose I am using is v2.27.0

$docker-compose version
Docker Compose version v2.27.0

the second issue is that the application need root permission to startup, so the startup command should be like below for a linux OS. I would like to suggest updating the documents accordingly for linux env.

sudo docker-compose up -d
$docker-compose up -d
WARN[0000] /path-contain-mblog/mblog/docker-compose.yml: `version` is obsolete 
permission denied while trying to connect to the Docker daemon socket at unix:https:///var/run/docker.sock: Get "https://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dmblog%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied
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

No branches or pull requests

1 participant