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

Fail to install using docker #23

Open
hyfung opened this issue Jul 14, 2023 · 1 comment
Open

Fail to install using docker #23

hyfung opened this issue Jul 14, 2023 · 1 comment

Comments

@hyfung
Copy link

hyfung commented Jul 14, 2023

Environment: Ubuntu 20.04 with Go 1.20.6 from snap

Using docker with go install:

>     -v $(pwd):/dest \
>     golang:1.16.4 \
>     sh -c "
>     go install github.com/NVIDIA/mig-parted/cmd@latest
>     mv /go/bin/cmd /dest/nvidia-mig-parted
>     "

Unable to find image 'golang:1.16.4' locally
1.16.4: Pulling from library/golang
d960726af2be: Pull complete 
e8d62473a22d: Pull complete 
8962bc0fad55: Pull complete 
65d943ee54c1: Pull complete 
f2253e6fbefa: Pull complete 
6d7fa7c7d5d3: Pull complete 
e2e442f7f89f: Pull complete 
Digest: sha256:8a106c4b4005efb43c0ba4bb5763b84742c7e222bad5a8dff73cc9f7710c64ee
Status: Downloaded newer image for golang:1.16.4
go: downloading github.com/NVIDIA/mig-parted v0.5.3
go install github.com/NVIDIA/mig-parted/cmd@latest: module github.com/NVIDIA/mig-parted@latest found (v0.5.3), but does not contain package github.com/NVIDIA/mig-parted/cmd
mv: cannot stat '/go/bin/cmd': No such file or directory
@elezar
Copy link
Member

elezar commented Jul 14, 2023

Could you replace github.com/NVIDIA/mig-parted/cmd with github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted in the example above?

I think we failed to update all our documentation when cleaning up the repo to better allign with idiomatic go project structure.

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

2 participants