lima icon indicating copy to clipboard operation
lima copied to clipboard

Add raw flag

Open robberphex opened this issue 4 years ago • 6 comments

  • run github action test on all branch.
  • add --raw flag to limactl shell. fix https://github.com/lima-vm/lima/issues/251
  • for limactl shell, if debug falg is true, pass -v to ssh. otherwise, pass -q

robberphex avatar Sep 16 '21 18:09 robberphex

Now, the act of nerdctl in lima will be equivalent to docker:

# docker for desktop mac
$ /usr/local/bin/docker run -it --rm alpine:latest sh -x -c 'echo $HOME'
+ echo /root
/root
$ alias docker='limactl shell --raw default -- nerdctl'
$ docker run -it --rm alpine:latest sh -x -c 'echo $HOME'
+ echo /root
/root

robberphex avatar Sep 16 '21 18:09 robberphex

@RobberPhex

I just noticed that we did code review discussion in #251 and not here in the PR itself. Are you planning to adapt your PR to that feedback (create a separate limectl exec command)? Or do you want somebody else to finish it in a follow-up commit?

jandubois avatar Sep 24 '21 18:09 jandubois

ping @robberphex

AkihiroSuda avatar Oct 04 '21 06:10 AkihiroSuda

I'm working on create exec sub-command. Sorry for being have been on vacation.

robberphex avatar Oct 08 '21 03:10 robberphex

Sorry for being have been on vacation.

No need to be sorry; I hope you enjoyed your time off! Welcome back! 😄

jandubois avatar Oct 08 '21 06:10 jandubois

I'm working on create exec sub-command. Sorry for being have been on vacation.

@robberphex Are you still planning to work on this, or do you want somebody else to finish the nerdctl exec implementation?

jandubois avatar Dec 18 '21 21:12 jandubois