
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
This is a plugin for av-shell that integrates docker with your project.
Need jq for replacement of values in Mesos.json and docker or Docker.app
npm install -g av-docker
After you have setup av-shell in your project, you will need to add the plugin (from within av shell, signified here as "av>" but it will be whatever you setup your shell to be called):
av> plugin add av-docker
You will need to exit, CTRL-D, and relaunch the av shell to pick up the changes.
Now setup the folder you want to have your docker containers located in, e.x. "containers":
av> setpv containerdir containers
Now setup the repo you will push containers to. Could be dockerhub:
av> setpv repo somehostname:port
Under the "containers" directory, create a folder for each container you want to use where you can put your Dockerfile and a Runfile (more about the latter later). I've include an example directory in this repo for you to copy and use as you like. Av-docker adds the 'choose' command:
av> choose
? Which do you want? nginx
Using nginx as container for docker commands
av [nginx]>
You will notice how your av-shell prompt has changed to include the selected container.
Now you can use normal docker commands but without typing docker and the container name each time.
We are going to use a special av feature to show one way domain specific shells kick ass...
holdhash on
Lets build the nginx container
build
For a custom container, you will certainly want to setup the Runfile with docker arguments like this:
-d -p 80:80 -v $(pwd)/../../log:/var/log/nginx
Now start the container with the 'run' command:
run
The command should output some huge hash value. The first 12 chars can always be found with a ps
ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e1526432ae2f nginx /usr/local/bin/run 31 seconds ago Up 31 seconds 0.0.0.0:80->80/tcp stupefied_morse
But lets stop it with that 'holdhash' feature
stop
And start it back up again
start
Handy right? Well what if we what to shell into that container? av will help you here (need docker 1.3+)
shell
Lets shut it down
stop
And perminantly remove it
rmc
How many times did you not have to type docker? Make your life easy with av-docker!
FAQs
docker plugin for av
We found that av-docker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.