Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-containers-manager/cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-containers-manager/cli

> CLI app to use podman & buildah through VirtualBox VM "seamlessly"

  • 1.1.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Open Containers Manager

CLI app to use podman & buildah through VirtualBox VM "seamlessly"

NPM Package Travis CI Codacy grade License

Features

  • Download and install OCM VirtualBox VM
  • Expose Podman & Buildah commands seamlessly
  • Automatic forwarding of the exposed port in the virtual machine from containers to host
  • Automatic mount of the current directory in the virtual machine for build commands
  • Persistent storage in separate VMDK (~/.ocm/ocm-persistent.vmdk)

Limitations

  • Podman build & Buildah build-using-dockerfile, bud, add, copy, unshare commands should be used with a relative path under current directory (current directory is mounted in the virtual machine)
  • Mounting a host volume in containers is not supported
  • Remove OCM virtual machine from VirtualBox removes persistent storage, detaches it before

Requirements

  • Linux, MacOS X or Windows with nodejs v10.
  • VirtualBox

Install

npm -g i @open-containers-manager/cli

or from source

npm i
npm run build
npm -g i file:$PWD

Exposes four global commands : ocm, podman, buildah and ocm-daemon.

Usage

OCM

Usage:
  ocm [command]

Available commands:
  install     Download & install OCM VM
  status      Display the status of the OCM VM
  start       Start the OCM VM
  stop        Stop the OCM VM
  console     Open an interactive console

Podman

Use "podman --help" for more informations about command.

Buildah

Use "buildah --help" for more informations about command.

OCM Daemon

Starts automatically in background with each of the above commands if it is not already active.

ocm-daemon

Can be started manually before ocm start command for debugging purposes

License

MIT © Tony Duburque

FAQs

Package last updated on 12 Feb 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc