Giter Site home page Giter Site logo

packtpublishing / mastering-docker-second-edition Goto Github PK

View Code? Open in Web Editor NEW
25.0 5.0 24.0 2.02 MB

Mastering Docker, Second Edition, published by Packt

License: MIT License

JavaScript 89.66% Shell 0.21% HTML 1.66% CSS 1.85% Python 0.57% Objective-J 0.30% C# 2.70% Java 1.36% Dockerfile 1.70%

mastering-docker-second-edition's Introduction

Mastering Docker - Second Edition

This is the code repository for Mastering Docker - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Scott Gallagher has been fascinated with technology since he played Oregon Trail in elementary school. His love for it continued through middle school as he worked on more Apple IIe computers. In high school, he learned how to build computers and program in BASIC. His college years were all about server technologies such as Novell, Microsoft, and Red Hat. After college, he continued to work on Novell, all the while maintaining an interest in all technologies. He then moved on to manage Microsoft environments and, eventually, what he was most passionate about: Linux environments. Now, his focus is on Docker and cloud environments.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

Chapter 1,3,4,5,7,8,9,10,11,13 does not have code files

The code will look like the following:

events {
    worker_connections 1024;
}

You will have to install and configure Docker 17.03 (CE) on the following platforms: Windows 10 Professional macOS Sierra Ubuntu 16.04 LTS desktop Also, you should have access to a public cloud platform, such as Digital Ocean or Amazon Web Services.

Related Products

mastering-docker-second-edition's People

Contributors

dominicpereira92 avatar packt-itservice avatar prashantpackt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mastering-docker-second-edition's Issues

Chapter 2 docker image file example has an error

`FROM alpine:latest
LABEL maintainer="Russ McKendrick [email protected]"
LABEL description="This example Dockerfile installs NGINX."
RUN apk add --update nginx &&
rm -rf /var/cache/apk/* &&
mkdir -p /tmp/nginx/

COPY files/nginx.conf /etc/nginx/nginx.conf
COPY files/default.conf /etc/nginx/conf.d/default.conf
ADD files/html.tar.gz /usr/share/nginx/

EXPOSE 80/tcp

ENTRYPOINT ["nginx"]
CMD ["-g", "daemon off;"]`

execution fails
with this: docker image build --tag local:dockerfile-example .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.