Showing posts with label docker. Show all posts
Showing posts with label docker. Show all posts

Tuesday, April 12, 2016

Useful Docer Commands




Delete all old containers

1. List them

sudo docker ps -a


2. remove all exited

sudo docker rm $(sudo docker ps -aq -f status=exited)


3. remove all created

sudo docker rm $(sudo docker ps -aq -f status=created)



Docker and Node.JS

My First Node.JS sever in Docker

Docker is a way to quickly deploy code in Linux that allows a repeatable process for automation at scale.    Please visit the Docker web site for more information: https://www.docker.com/what-docker

At this time I was running Hyper-V on Windows 10 64 bit with Intel i7 processor and a newly upgraded 500GB SSD from Samsung.

 The Linux VM I created was Ubuntu server 14.04 LTS

Dockerizing a Node.js web app
https://nodejs.org/en/docs/guides/nodejs-docker-webapp/