Posts

Explore Docker Containers Simple Command

Command To Explore Container Contents


sudo docker exec -it ContainerID bash

Install Cloud Torrent on Docker

Image
Setup Cloud Torrent Using Docker Centos Ubunthu Debian

Make Sure you have installed Docker On your Machine..... if you dont know please click below link

Installation Docker On Ubunthu


Step 1 : Create One Folder

                       Command :  mkdir foldername

Step 2: Enter on that Folder

                      Command : cd foldername


Step 3: then open text file in name of  "Dockerfile"  (D must be Uppercase)

                     Command : vi Dockerfile


Step 4 : Paste this below content


FROM alpine
MAINTAINER dev@jpillora.com

#configure go path
ENV GOPATH /root/go
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin

#package
ENV PACKAGE github.com/jpillora/cloud-torrent
ENV PACKAGE_DIR $GOPATH/src/$PACKAGE

#install go and godep, then compile cloud-torrent using godep, then wipe build tools
RUN apk update && \
    apk add git go gzip && \
    go get github.com/tools/godep && \
    mkdir -p $PACKAGE_DIR && \
    git clone https://$PACKAGE.git $PACKAGE_DIR && \
   …

Install Wordpress Using Docker Yml file

Image
First of All  Install Docker On Ubunthu Using Below Commands
Command 1 :

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Command 2 :

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"


Command 3 :

sudo apt-get update


Command 4 :

apt-cache policy docker-ce


Command 5 :

sudo apt-get install -y docker-ce


Command 6 :

sudo systemctl status docker


Output :

● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2016-05-01 06:53:52 CDT; 1 weeks 3 days ago Docs: https://docs.docker.com Main PID: 749 (docker)
Then you successfully installed Docker....


Then, Install Python Command 1 :sudo apt-get install python-pip
Command 2 : sudo pip install docker-compose

Then, Install Wordpress On Docker
Please Follow Below Command To install Worpress On Docker..

Step 1 : Create One Folder Called Wor…