Giter Site home page Giter Site logo

handsondocker's Introduction

Hands-On Docker

Get hands-on with Docker through a dozen self-paced and progressive labs.

Please support the project by giving the repo a Star.

Prerequisites:

[New] Install a beta version of Docker on Windows or Mac for a native look and feel.

Install Docker Toolbox for the classic experience

Git is also required for following the instructions on Windows.

What's here?

Additional resources:

Comments, questions or suggestions?

Please raise an issue or get in touch @ alexellisuk.

Contributions:

Please create an issue before going ahead and working on a PR.

handsondocker's People

Contributors

alexellis 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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

handsondocker's Issues

Dockerfile for Lab 12

For Lab 12 I see this:

  1. Build the image_upload image

But nothing under that shows what the Dockerfile consists of.

Lab 9b - ERROR

As I was following Lab 9b, I hit this issue.

$ cat Dockerfile
FROM mono:3.12.0-onbuild
RUN ["mono", "/usr/src/app/source/packages/NUnit.Runners.2.6.4/tools/nunit-console.exe", "NuGetSampleLibrary.dll", "-nologo"]
CMD ["mono", "NuGetSample.exe"]

ERROR

$ docker build -t nugetsample .
Sending build context to Docker daemon 27.65 kB
Step 1 : FROM mono:3.12.0-onbuild
# Executing 4 build triggers...
Step 1 : COPY . /usr/src/app/source
Step 1 : RUN nuget restore -NonInteractive
 ---> Running in 4f0fb2796030
Step 1 : RUN xbuild /property:Configuration=Release /property:OutDir=/usr/src/app/build/
 ---> Running in 9002a97551ea
XBuild Engine Version 12.0
Mono, Version 3.12.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 06/24/2016 19:48:27.
__________________________________________________
Project "/usr/src/app/source/HelloDocker.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Release|Any CPU".
    Target Build:
        Project "/usr/src/app/source/HelloDocker/HelloDocker.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
                Created directory "obj/Release/"
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/HelloDocker.exe Program.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:exe /define:TRACE /nostdlib /platform:AnyCPU /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /reference:/usr/lib/mono/4.5/mscorlib.dll /warn:4
            Target _CopyAppConfigFile:
                Copying file from '/usr/src/app/source/HelloDocker/App.config' to '/usr/src/app/build/HelloDocker.exe.config'
            Target DeployOutputFiles:
                Copying file from '/usr/src/app/source/HelloDocker/obj/Release/HelloDocker.exe.mdb' to '/usr/src/app/build/HelloDocker.exe.mdb'
                Copying file from '/usr/src/app/source/HelloDocker/obj/Release/HelloDocker.exe' to '/usr/src/app/build/HelloDocker.exe'
        Done building project "/usr/src/app/source/HelloDocker/HelloDocker.csproj".
Done building project "/usr/src/app/source/HelloDocker.sln".

Build succeeded.
     0 Warning(s)
     0 Error(s)

Time Elapsed 00:00:00.7310790
Step 1 : WORKDIR /usr/src/app/build
 ---> Running in 6e12e3d5cfa7
 ---> 7a00e3fbe0b6
Removing intermediate container 42cf209760a9
Removing intermediate container 4f0fb2796030
Removing intermediate container 9002a97551ea
Removing intermediate container 6e12e3d5cfa7
Step 2 : RUN mono /usr/src/app/source/packages/NUnit.Runners.2.6.4/tools/nunit-console.exe NuGetSampleLibrary.dll -nologo
 ---> Running in 40fbf8d1160b
Cannot open assembly '/usr/src/app/source/packages/NUnit.Runners.2.6.4/tools/nunit-console.exe': No such file or directory.
The command 'mono /usr/src/app/source/packages/NUnit.Runners.2.6.4/tools/nunit-console.exe NuGetSampleLibrary.dll -nologo' returned a non-zero code: 2
Senthils-MBP:HelloDocker senthil$ cat Dockerfile
FROM mono:3.12.0-onbuild
RUN ["mono", "/usr/src/app/source/packages/NUnit.Runners.2.6.4/tools/nunit-console.exe", "NuGetSampleLibrary.dll", "-nologo"]
CMD ["mono", "NuGetSample.exe"]

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.