Skip to content

Commit 617bfdf

Browse files
committed
Fix typos
1 parent bbe8578 commit 617bfdf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# docker-image-testing-example
22

3-
This is an exmaple of using Serverspec to test Dockerfiles
3+
This is an example of using Serverspec to test Dockerfiles
44

55
## Setup
66

@@ -10,7 +10,7 @@ Install Serverspec and the require gems with bundler:
1010
bundle install
1111
```
1212

13-
This exmaple assumes you have Docker installed, running and configured.
13+
This example assumes you have Docker installed, running and configured.
1414

1515
## Usage (running the tests)
1616

@@ -20,22 +20,22 @@ bundle exec rake
2020

2121
The above will run Serverspec and using the docker-api gem it will
2222

23-
- Build a Docker image from the Docker file found in the top level dictrories (4.4 and 6.3)
23+
- Build a Docker image from the Docker file found in the top level directories (4.4 and 6.3)
2424
- Create a container of that image,
2525
- Run the tests found in `spec/` on the container
2626
- Delete the images and containers if the test was successful
2727

28-
The Dockerfiles are based on the offiial [docker-node](https://github.com/nodejs/docker-node) image.
28+
The Dockerfiles are based on the official [docker-node](https://github.com/nodejs/docker-node) image.
2929

30-
You could also use the docker-api gem to pull exisiting images from the Docker hub and run tests against that image.
30+
You could also use the docker-api gem to pull existing images from the Docker hub and run tests against that image.
3131

3232
So for instance, a pull_image helper could look something like this:
3333

3434
```ruby
3535
def pull_image(image)
3636

3737
puts "Pulling image #{image}..."
38-
@image = Docker::Image.create('fromImage' => imge)
38+
@image = Docker::Image.create('fromImage' => image)
3939

4040
set :os, :family => 'debian'
4141
set :backend, :docker

0 commit comments

Comments
 (0)