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

Install from source error #3007

Closed
1231sadqwf opened this issue Dec 1, 2020 · 6 comments
Closed

Install from source error #3007

1231sadqwf opened this issue Dec 1, 2020 · 6 comments
Labels
stale A stale issue or PR that will automatically be closed.

Comments

@1231sadqwf
Copy link

docker run --rm --tty -i
-v /root/loki/.cache:/go/cache:delegated
-v /root/loki/.pkg:/go/pkg:delegated
-v /root/loki:/src/loki:delegated
grafana/loki-build-image:0.12.0 pkg/ingester/checkpoint.pb.go;
/usr/bin/docker-current: Error response from daemon: invalid bind mount spec "/root/loki/.cache:/go/cache:delegated": invalid mode: delegated.
See '/usr/bin/docker-current run --help'.
make: *** [pkg/ingester/checkpoint.pb.go] Error 125

@1231sadqwf
Copy link
Author

while I use make command will get this error

@cyriltovena
Copy link
Contributor

what docker/os version are you on ? you can remove the :delegated everywhere that's mostly for mac but should be a no-op on linux/windows. Although I never tried it on windows.

@1231sadqwf
Copy link
Author

1231sadqwf commented Dec 2, 2020

os: CentOS Linux release 7.4.1708 (Core)

docker: Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-203.git0be3e21.el7.centos.x86_64
Go version: go1.10.3
Git commit: 0be3e21/1.13.1
Built: Thu Nov 12 15:11:46 2020
OS/Arch: linux/amd64

Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-203.git0be3e21.el7.centos.x86_64
Go version: go1.10.3
Git commit: 0be3e21/1.13.1
Built: Thu Nov 12 15:11:46 2020
OS/Arch: linux/amd64
Experimental: false

@1231sadqwf
Copy link
Author

what docker/os version are you on ? you can remove the :delegated everywhere that's mostly for mac but should be a no-op on linux/windows. Although I never tried it on windows.

may I know how to remove delegated?

@cyriltovena
Copy link
Contributor

@stale
Copy link

stale bot commented Jan 3, 2021

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Jan 3, 2021
@stale stale bot closed this as completed Jan 10, 2021
cyriltovena pushed a commit to cyriltovena/loki that referenced this issue Jun 11, 2021
)

* change: increase default cassandra RF to 3 and update docs

Signed-off-by: Jacob Lisi <[email protected]>

* update changelog

Signed-off-by: Jacob Lisi <[email protected]>

* update integration tests to use an RF on 1

Signed-off-by: Jacob Lisi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale A stale issue or PR that will automatically be closed.
Projects
None yet
Development

No branches or pull requests

2 participants