Comments (13)
Just run make
. Doesn't that work for you?
from checkpointctl.
Yes, I tried it now, but now it saya that the module required go version 1.15. Mine is 1.12. I will try fixing it. Thank you! :)
from checkpointctl.
go.mod
says 1.15 because that is the version I am using locally. I am not aware of any special Golang features I am using. So you could try to change that and see if it also works with 1.12.
from checkpointctl.
I changed the version to 1.15 now. But now the error is as follows:make
go build -buildmode=pie -o checkpointctl -ldflags "-X main.name=checkpointctl"
go build github.com/checkpoint-restore/checkpointctl: copying /tmp/go-build423642275/b001/exe/a.out: open checkpointctl: permission denied
make: *** [Makefile:12: checkpointctl] Error 1
What must be the reason? How do I solve this?
from checkpointctl.
I also tried using sudo as it says permission denied, it still does'nt work.
from checkpointctl.
Works for me locally on Fedora 33 and in CI on Ubuntu 20.04. Closing this as it seems to be a problem with your setup.
from checkpointctl.
I git cloned the repository again and then ran the 'make' command again. It worked. But how do I test if the tool is working? I ran checkpoint command on the CLI, but it said command not found.
from checkpointctl.
Run ./checkpointctl
from checkpointctl.
Done, it shows all the commands and usage of the tool. but running the command still shows output 'command not found'. Is there something I am doing wrong? :(
from checkpointctl.
Done, it shows all the commands and usage of the tool. but running the command still shows output 'command not found'. Is there something I am doing wrong? :(
What you mean by 'running the command'? First you say ' it shows all the commands and usage' and then 'command not found'.
Not sure what your problem is. Does it work or not?
from checkpointctl.
I mean when I run './checkpointctl' on the CLI, it shows me all the commands and usage. Then when I run 'checkpointctl show' on the CLI, its says 'checkpointctl: command not found'. Is it the right way of using it or am I missing something?
from checkpointctl.
If a binary cannot be found in $PATH you will get 'command not found'. By using ./checkpointctl
you are telling your shell exactly where to find the binary: in the current directory. This is the same with all commands you are using. Either you add the location of checkpointctl
to your $PATH, or you copy the binary to a location that is already in your search path or you just always use ./checkpointctl
.
from checkpointctl.
Ohh Alright! Thank you so much for your help and patience! :)
from checkpointctl.
Related Issues (19)
- Make command fails HOT 9
- Doubt - Relation with Kubernetes HOT 2
- Versioning? HOT 5
- How can I install? HOT 4
- Showing env and mounts HOT 2
- Do not unpack the whole checkpoint archive HOT 4
- Extend checkpointctl to convert checkpoint archives to OCI images HOT 2
- Add support for showing information for multiple checkpoints HOT 7
- Add support for list command HOT 7
- Do not use the podman network status HOT 2
- Add integration test with podman HOT 3
- Process tree output looks not totally correct. HOT 7
- Extend the output format with a tree view HOT 1
- Extend `inspect` output format with JSON HOT 3
- Refactor `checkpointctl.go` and move commands into individual files HOT 16
- Update `README.md`
- Prune process tree by PID if specified
- Statisitics output adds `us` everywhere
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkpointctl.