
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@monolayer/dsdk
Advanced tools
DSDK
is a type-safe SDK you can use to access the Docker Engine API.
npm install @monolayer/dsdk
DSDK
will access the Docker Engine API by connecting to the Docker daemon of your choice.
All you need to do is to configure DSDK
to use an existing Docker context with setContext.
import { setContext } from "@monolayer/dsdk/config";
// Will use credentials from the default Docker context
await setContext("default");
:tada: That's it. You're ready to go!
::: info
DSDK
supports Unix sockets and SSH connections.
You have can interact with Docker Engine API endpoints except:
See selected examples to interact with the Docker Engine API.
To debug API calls, set the environment variable DEBUG
to trace
.
Full documentation is available here: DSDK Documentation
FAQs
TypeScript SDK interact with the Docker Engine API
We found that @monolayer/dsdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.