Giter Site home page Giter Site logo

welcome-to-docker's Introduction

Welcome to Docker

This is a repo for new users getting started with Docker.

You can try it out using the following command.

docker run -d -p 8088:80 --name welcome-to-docker docker/welcome-to-docker

And open http://localhost:8088 in your browser.

Building

Maintainers should see MAINTAINERS.md.

Build and run:

docker build -t welcome-to-docker . 
docker run -d -p 8088:3000 --name welcome-to-docker welcome-to-docker

Open http://localhost:8088 in your browser.

welcome-to-docker's People

Contributors

cmrigney avatar marisimon avatar nunocoracao 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

welcome-to-docker's Issues

Error timeoutx

Hello,
When I try to execute this commande :
docker build -t welcome-to-docker .

I Have the following error:
ERROR: Get "http://192.168.76.3:2375/_ping": dial tcp 192.168.76.3:2375: i/o timeout

Somebody else get this error before?

Thank you

Command not working on Windows

Hello I don't know if the tutorial was meant to be also Windows friendly but i got this error when running

docker rm $(docker ps -a -q -f status=exited)

Return:
unknown shorthand flag: 'a' in -a
See 'docker rm --help'.

And also i assume the part about stopping the container before removing it was ommitted but it is an other issue.

Error occurs on first run if NPM is not allready installed

Trying docker for windows for my 1st time!
Windows 11 and VS code both current versions.

Running the docker build -t welcome-to-docker . command returns an error " ERROR: failed to solve: process "/bin/sh -c npm install....."
This error persisted because my WSL2 machine , or my host machine, (I am not sure which ) did not have NPM installed already.
ie trying

This was solved via running 'sudo apt install npm' in the WSL2 Ubuntu VM, and then running the welcome to docker build script again.
The container then built successfully.

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.