Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoamaro committed Aug 20, 2013
1 parent cf8c9fd commit 8b5df9c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ sudo apt-get -y install docker
curl get.docker.io | sudo sh -x
```

## Clone this repo somewhere, and then run:
## Clone this repo somewhere,
```
sudo docker build -t <yourname>/drupal .
git clone https://github.com/ricardoamaro/docker-drupal.git
cd docker-drupal
```

## Or build directly from github:
and then build it:
```
sudo docker build -t <yourname>/drupal git://github.com/ricardoamaro/docker-drupal.git
sudo docker build -t <yourname>/drupal .
```

And run the container, connecting port 80:
## And run the container, connecting port 80:
```
sudo docker run -d -t -p 80:80 <yourname>/drupal
```
Expand All @@ -30,6 +30,10 @@ Visit http://localhost/ in your webrowser.
Note: you cannot have port 80 already used or the container will not start.
In that case you can start by setting: `-p 8080:80`

build directly from github breaks at the moment:
```
sudo docker build -t <yourname>/drupal git://github.com/ricardoamaro/docker-drupal.git
```



Expand Down

0 comments on commit 8b5df9c

Please sign in to comment.