Create a Dockerfile in a new folder.
> vi Dockerfile
Paste the following inside the Dockerfile
# this is a comment
FROM ubuntu:14.04
MAINTAINER Kenneth
RUN apt-get update && apt-get install
RUN gem install json
Build the image
> docker build -t kenneth/sinatra:v2 .
Tag the image
> docker tag
No comments:
Post a Comment