File: enter.sh

package info (click to toggle)
golang-github-rootless-containers-bypass4netns 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 596 kB
  • sloc: sh: 1,936; python: 542; makefile: 33
file content (6 lines) | stat: -rwxr-xr-x 131 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/bin/bash

set -eux -o pipefail

PID=$(nerdctl inspect $1 | jq '.[0].State.Pid')
nsenter -t $PID -F -U --preserve-credentials -n