afbjorklund / nerdctld

nerdctl daemon (Docker API)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nerdctld

nerd daemon

This is a daemon offering a nerdctl.sock endpoint.

It can be used with DOCKER_HOST=unix://nerdctl.sock.

Normally the nerdctl tool is a CLI-only application.

A client for the containerd and buildkitd servers.

Docker API

The Docker API (REST) is available at:

https://docs.docker.com/engine/api/

Debugging

You can use cURL for talking HTTP to a Unix socket:

curl --unix-socket /var/run/docker.sock http://localhost:2375/_ping

Implementation

This program uses the "Gin" web framework for HTTP.

It and docs can be found at https://gin-gonic.com/ with some nice examples

Implemented commands

  • version
  • info (system info)
  • images (image ls)
  • pull (image pull)
  • ps (container ls)
  • build
ezoic increase your site revenue

About

nerdctl daemon (Docker API)

License:Apache License 2.0


Languages

Language:Go 100.0%