High Availbility

OS & Virtualization

Wednesday, July 01, 2015

Getting Started with Docker on Oracle Linux

Learn how to customize a Docker container image and use it to instantiate application instances across different Linux servers. This article describes how to create a Dockerfile, how to allocate runtime resources to containers, and how to establish a communication channel between two containers (for example, between web server and database containers).

Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries 

 

Common Docker commands





Commands
 Purpose
 docker info
 information
 docker images
 images
 docker ps -a
List all containers
 docker rm $(docker ps -a -q)
 Remove containers
 docker rmi $(docker images)
 Remove images
docker save mynewimage > /tmp/mynewimage.tar
Export images
docker load < /tmp/mynewimage.tar
Import images


docker pull oracle/nosql