Skip to content

Commit 18e2c4b

Browse files
committed
fix(nget port share)
1 parent b9054fe commit 18e2c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ui/views/volumes/volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func Shell(app common.AppController, id string) {
235235
// Create a temporary container that mounts the volume
236236
// We use sh as the shell
237237
containerName := fmt.Sprintf("d4s-vol-shell-%d", time.Now().UnixNano())
238-
cmd := exec.Command("docker", "run", "--rm", "--name", containerName, "-it", "-v", id+":/data", "-w", "/data", "ghcr.io/jr-k/nget:latest", "sh")
238+
cmd := exec.Command("docker", "run", "--rm", "--name", containerName, "-it", "-v", id+":/data", "-p", "33000-33100:33000-33100", "-w", "/data", "ghcr.io/jr-k/nget:latest", "sh")
239239
cmd.Stdin = os.Stdin
240240
cmd.Stdout = os.Stdout
241241
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)