This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
vxdocker with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
__ ____ _____ ___ ___ _ _____ ___ \ \ / /\ \/ / \ / _ \ / __| |/ / __| _ \ \ V / > <| |) | (_) | (__| ' <| _|| / \_/ /_/\_\___/ \___/ \___|_|\_\___|_|_\ by Websecurify
The easiest way to install VxDocker is via node's npm. You need to have nodejs installed for this. Simply type the following command:
npm install -g vxdocker
An alternative approach is to just copy the source files and execute them manually though nodejs.
Once the tool is installed, it is as easy to use as docker itself. For example:
vxdocker images # lists all images vxdocker run ubuntu ls -la # performs a list inside the ubuntu docker image
Essentially the docker command doesn't change, it is only mapped to vxdocker instead.
Behind the scenes, VxDocker uses Vortex to boot a virtual machine in VirtualBox and fire up docker itself. The first time you run the
vxdocker command you will notice a delay. This is due to the booting of the virtual machine. The virtual machine will be automatically destroyed after 30 minutes of inactivity.