Skip to content

Fix runsc command in installation instructions#12556

Open
99991 wants to merge 1 commit intogoogle:masterfrom
99991:patch-1
Open

Fix runsc command in installation instructions#12556
99991 wants to merge 1 commit intogoogle:masterfrom
99991:patch-1

Conversation

@99991
Copy link

@99991 99991 commented Jan 28, 2026

The installation instructions for gVisor contain the line /usr/local/bin/runsc install, which fails with "Permission denied" error. The more comprehensive Docker Quick Start guide recommends sudo runsc install instead.

Also removed unnecessary $ signs.

@google-cla
Copy link

google-cla bot commented Jan 28, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@EtiennePerot
Copy link
Collaborator

The command just before moves it into /usr/local/bin:

https://github.com/99991/gvisor/blob/3784fb7c00a779ff51f24874adbb8dfdd3f15664/g3doc/user_guide/install.md?plain=1#L22-L23C42

I'd recommend having this as sudo /usr/local/bin/runsc install to avoid the case where the user would accidentally install a different version they may already have somewhere else in $PATH like, say, /usr/bin/runsc.

@ayushr2
Copy link
Collaborator

ayushr2 commented Jan 28, 2026

Please squash your commits: https://github.com/google/gvisor/blob/master/CONTRIBUTING.md?plain=1#L95-L99

`/usr/local/bin/runsc install` fails with "Permission denied" error. The more comprehensive [Docker Quick Start](https://gvisor.dev/docs/user_guide/quick_start/docker/) guide recommends `sudo runsc install` instead.
@EtiennePerot recommends to specify the full path of `runsc` to avoid accidentally using the wrong binary.

Also removed unnecessary `$` signs.
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

Successfully merging this pull request may close these issues.

3 participants

Comments