| by Scott Kilroy

List your local and running docker images and containers

To list your installed docker images run docker images To list your running docker containers run docker ps

Share Button
Read More
| by Scott Kilroy

Docker installation documentation

Docker installation information can be found at http://docs.docker.com/engine/installation/

Share Button
Read More
| by Scott Kilroy

Install a linux distro on docker

Unbuntu docker run –rm -ti ubuntu:latest /bin/bash Fedora docker run –rm -ti fedora:latest /bin/bash CentOS docker run –rm -ti centos:latest /bin/bash

Share Button
Read More
| by Scott Kilroy

Inspect your local docker images

docker inspect IMAGENAME

Share Button
Read More
| by Scott Kilroy

Get docker host ip

run echo $DOCKER_HOST

Share Button
Read More
| by Scott Kilroy

Export a docker container

Export a container (for use with amazon web services for example) by running the following command: docker export CONTAINERNAME > NAME.tar for example docker export fsk-apache > fsk-apache.tar

Share Button
Read More
| by Scott Kilroy

Build a docker base image

See docker documentation http://docs.docker.com/engine/articles/baseimages/

Share Button
Read More
| by Scott Kilroy

Build your docker image

docker build -t GROUPNAME/DOCKERPAGENAME:VERSION DIRECTORY so for example docker build -t example/ docker-node-hello:latest .

Share Button
Read More