-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow directories for --device and in-container path
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
- Loading branch information
Showing
4 changed files
with
39 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o nerdctl ./cmd/nerdctl/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"Command":"\"/boot/entrypoint.sh\"","CreatedAt":"2024-05-10T22:44:54.266198053Z","ID":"75562dea5c72","Image":"docker.io/dubodubonduponey/dns:bookworm-2024-03-01","Platform":"linux/arm64/v8","Names":"dns","Ports":"0.0.0.0:4242->4242/tcp","Status":"Created","Runtime":"io.containerd.runc.v2","Size":"","Labels":{"containerd.io/restart.loguri":"binary:///home/apo/nerdctl-patch?_NERDCTL_INTERNAL_LOGGING=%2Fvar%2Flib%2Fnerdctl%2F1935db59","containerd.io/restart.policy":"always","containerd.io/restart.status":"running","io.containerd.image.config.stop-signal":"SIGTERM","nerdctl/error":"failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time=\"2024-05-10T15:44:58-07:00\" level=fatal msg=\"failed to call cni.Setup: plugin type=\\\"bridge\\\" failed (add): failed to allocate all requested IPs: 10.0.0.47\"\nFailed to write to log, write /var/lib/nerdctl/1935db59/containers/default/75562dea5c72f8772add1eaf4a549178b5a4ff5af111da5924d8ed587bfe2ebd/oci-hook.startContainer.log: file already closed: unknown","nerdctl/extraHosts":"null","nerdctl/hostname":"dns-oliphant.local","nerdctl/ip":"10.0.0.47","nerdctl/ipc":"{\"mode\":\"private\"}","nerdctl/log-uri":"binary:///home/apo/nerdctl-patch?_NERDCTL_INTERNAL_LOGGING=%2Fvar%2Flib%2Fnerdctl%2F1935db59","nerdctl/mounts":"[{\"Type\":\"volume\",\"Name\":\"data-dns\",\"Source\":\"/var/lib/nerdctl/1935db59/volumes/default/data-dns/_data\",\"Destination\":\"/magnetar/user/data\",\"Driver\":\"local\",\"Mode\":\"\",\"RW\":false,\"Propagation\":\"\"}]","nerdctl/name":"dns","nerdctl/namespace":"default","nerdctl/networks":"[\"hadron-mac-v6\",\"hadron-bridge\"]","nerdctl/platform":"linux/arm64/v8","nerdctl/ports":"[{\"HostPort\":4242,\"ContainerPort\":4242,\"Protocol\":\"tcp\",\"HostIP\":\"0.0.0.0\"}]","nerdctl/state-dir":"/var/lib/nerdctl/1935db59/containers/default/75562dea5c72f8772add1eaf4a549178b5a4ff5af111da5924d8ed587bfe2ebd","org.hadron.core.version":"v0.1-dev","org.hadron.plan.description":"some_plan_descriptor","org.hadron.plan.name":"plan_name","org.hadron.plan.sha":"8a6256ad545de0712383228888069b723f8b85ec6f35b7ab448dba61f380e848","org.hadron.plan.tag":"2024/05/10-15:44:36-5D88AA53-4089-48D0-84A9-1F76A187384D"}} | ||
|