Giter VIP home page Giter VIP logo

community's Introduction

The Moby Project

Moby Project logo

Moby is an open-source project created by Docker to enable and accelerate software containerization.

It provides a "Lego set" of toolkit components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts and professionals to experiment and exchange ideas. Components include container build tools, a container registry, orchestration tools, a runtime and more, and these can be used as building blocks in conjunction with other tools and projects.

Principles

Moby is an open project guided by strong principles, aiming to be modular, flexible and without too strong an opinion on user experience. It is open to the community to help set its direction.

  • Modular: the project includes lots of components that have well-defined functions and APIs that work together.
  • Batteries included but swappable: Moby includes enough components to build fully featured container systems, but its modular architecture ensures that most of the components can be swapped by different implementations.
  • Usable security: Moby provides secure defaults without compromising usability.
  • Developer focused: The APIs are intended to be functional and useful to build powerful tools. They are not necessarily intended as end user tools but as components aimed at developers. Documentation and UX is aimed at developers not end users.

Audience

The Moby Project is intended for engineers, integrators and enthusiasts looking to modify, hack, fix, experiment, invent and build systems based on containers. It is not for people looking for a commercially supported system, but for people who want to work and learn with open source code.

Relationship with Docker

The components and tools in the Moby Project are initially the open source components that Docker and the community have built for the Docker Project. New projects can be added if they fit with the community goals. Docker is committed to using Moby as the upstream for the Docker Product. However, other projects are also encouraged to use Moby as an upstream, and to reuse the components in diverse ways, and all these uses will be treated in the same way. External maintainers and contributors are welcomed.

The Moby project is not intended as a location for support or feature requests for Docker products, but as a place for contributors to work on open source code, fix bugs, and make the code more useful. The releases are supported by the maintainers, community and users, on a best efforts basis only, and are not intended for customers who want enterprise or commercial support; Docker EE is the appropriate product for these use cases.


Legal

Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Moby may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see https://www.bis.doc.gov

Licensing

Moby is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

community's People

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

community's Issues

Jar name is hardcoded in pom.xml

java -cp maven/helloworld-1.0-SNAPSHOT.jar org.examples.java.App is hardcoded (chapter 3).
When the version changes the jar will not be there.

Readability issue in chapter 5

curl http://dockerhost:8080/airlines/resources/airline
[{"travel-sample":{"country":"United States","iata":"Q5","callsign":"MILE-AIR","name":"40-Mile Air","icao":"MLA","id":10,"type":"airline"}}, {"travel-sample":{"country":"United States","iata":"TQ","callsign":"TXW","name":"Texas Wings","icao":"TXW","id":10123,"type":"airline"}}, {"travel-sample":{"country":"United States","iata":"A1","callsign":"atifly","name":"Atifly","icao":"A1F","id":10226,"type":"airline"}}, {"travel-sample":{"country":"United Kingdom","iata":null,"callsign":null,"name":"Jc royal.britannica","icao":"JRB","id":10642,"type":"airline"}}, {"travel-sample":{"country":"United States","iata":"ZQ","callsign":"LOCAIR","name":"Locair","icao":"LOC","id":10748,"type":"airline"}}, {"travel-sample":{"country":"United States","iata":"K5","callsign":"SASQUATCH","name":"SeaPort Airlines","icao":"SQH","id":10765,"type":"airline"}}, {"travel-sample":{"country":"United States","iata":"KO","callsign":"ACE AIR","name":"Alaska Central Express","icao":"AER","id":109,"type":"airline"}}, {"travel-sample":{"country":"United Kingdom","iata":"5W","callsign":"FLYSTAR","name":"Astraeus","icao":"AEU","id":112,"type":"airline"}}, {"travel-sample":{"country":"France","iata":"UU","callsign":"REUNION","name":"Air Austral","icao":"REU","id":1191,"type":"airline"}}, {"travel-sample":{"country":"France","iata":"A5","callsign":"AIRLINAIR","name":"Airlinair","icao":"RLA","id":1203,"type":"airline"}}]

The above could confuse some people. It might be best to separate the command from the expected output.

file .env with docker secret

Hello,

I put the passwords of an elastic stack in a ".env" file.

File .env:

ELASTIC_PASSWORD=elastic

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
env_file:

.env

When executing the stack, it works very well and the environment variables are updated in the stack. stack is ok.

Now when I put this ".env" file in secret docker the environment variables are not updated.

....
secrets:
elk_secret:
file: .env

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
secrets:

elk_secret
....
Is there a trick to be able to put the ".env" file in docker secret and have the stack environment variables updated.

docker version
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:17:14 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:15:24 2018
OS/Arch: linux/amd64
Experimental: false

docker-compose version
docker-compose version 1.21.2, build a133471
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t 3 May 2016

Best regard

Olivier

compose up error

hi mano

i got this

mervo@sharkbay:/docker-birthday/community/Docker-Birthday-3/example-voting-app$ docker-compose up
Unsupported config option for services service: 'worker'
mervo@sharkbay:
/docker-birthday/community/Docker-Birthday-3/example-voting-app$

Unhelpful "Failed to reset password" on https://id.docker.com/change-password

While attempting to reset my password with Firefox 59.0.2 on Ubuntu 17.10 or Chromium 65.0.3325.181 on https://id.docker.com/change-password/... (link received via mail[1]) I get the feedback Failed to reset password:
screenshot-id docker com-2018-04-03-02-14-47

after pasting the password bottled barrier potholed faucet into both the password and the repeat field. If I enter 123 I see a validation message below the field telling me that the password needs to be at least 6 characters long which I don't see after pasting, so the problem might be have another reason. This reason should have been included into the error message.


[1] Plaintext mail which contain HTML code look quite unprofessional. I won't open more than one issue before I'm sure that this is the right place, though.

Health checks and depends on

version: '2'
services:
mycouchbase:
container_name: "db"
image: arungupta/couchbase
ports:
- 8091:8091
- 8092:8092
- 8093:8093
- 11210:11210
mywildfly:
image: arungupta/wildfly-couchbase-javaee7
environment:
- COUCHBASE_URI=db
ports:
- 8080:8080

It would be nice to explain the depends-on feature and health checks. If these features are not yet ready for prime time, it would be nice to add an example of a script that would fill in the gaps for the airline example in chapter 5.

HTTPS Client error on RHEL 7.5

Hi, I am running docker 17.03.2-ce on RHEL 7.5. I have set up a docker registry on another instance. When I try to pull docker images from that registry it gives an error of "Error response from daemon: Get https://my_domain:5000/v1/_ping: http: server gave HTTP response to HTTPS client".
I have also added a flag in “/usr/lib/systemd/system/docker.service” with ExecStart=/usr/bin/dockerd –insecure-registry docker-repo.example.com:5000. But it doesn't work for me. Can anyone help for the same?

Container linking comments should be removed as they no longer apply.

"Docker Compose applications can use “classic” container linking that is confined to a single host. Alternatively, it can use multi-host networking introduced in Docker 1.9."

From chapter 5, the above text is no longer applicable as networking/linking is taking care of by the docker networking layer in >= 1.10.

A brief explanation of the new linking mechanism would be good.

A brief section on how to control networking/linking would be nice.

Cant join community slack channel

I can't seem to join the community slack channel. Is there a way that I can get an invite from the docker community slack admin with my email?

New Swarm Mode Presentations

The Swarm presentation on this repo is outdated. Is there any newer presentation that can be added on Docker Swarm? Something like the "What's new Docker 1.12" from DockerCon 2016?

Docker Error

Remove alert
|
Edit
|
Delete
|
Change type
Question
You cannot vote on your own post
0

Hi Team,

Please help me to resolve below issue

PS C:\Users\Administrator> docker version
Client:
Version: 1.12.0-dev
API version: 1.24
Go version: go1.5.3
Git commit: 2b97201
Built: Tue Apr 26 23:51:36 2016
OS/Arch: windows/amd64
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engin
e: The system cannot find the file specified.
PS C:\Users\Administrator> docker images
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/json: open //./pipe/docker_e
ngine: The system cannot find the file specified.

Need to stop container

In the following instruction set in Chapter 4 (Run a Docker Container) an instruction should be added to stop container before proceeding.

If container isn't stopped, we would end up in a port conflict error:

docker: Error response from daemon: failed to create endpoint sharp_panini on network bridge: Bind for 0.0.0.0:8080 failed: port is already allocated.

Original instruction set:

Run Container with Specified Port

Lets stop the previously running container as:

docker stop docker ps | grep tomee | awk '{print $1}'
Restart the container as:

docker run -d -p 8080:8080 tomee
The format is -p hostPort:containerPort. This option maps container ports to host ports and allows other containers on our host to access them.

Now we’re ready to test http://dockerhost:8080 again. This works with the exposed port, as expected.

Add the step here: docker stopdocker ps | grep tomee | awk '{print $1}'``

Docker machines are not started in order

docker-machine start swarm-master swarm-node-01 swarm-node-02
Starting "swarm-node-02"...
Starting "swarm-master"...
Starting "swarm-node-01"...
(swarm-node-02) Check network to re-create if needed...
(swarm-node-02) Waiting for an IP...
Machine "swarm-node-02" was started.
Waiting for SSH to be available...
(swarm-master) Check network to re-create if needed...
(swarm-master) Waiting for an IP...
Machine "swarm-master" was started.
Waiting for SSH to be available...
(swarm-node-01) Check network to re-create if needed...
(swarm-node-01) Waiting for an IP...
Machine "swarm-node-01" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Detecting the provisioner...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.

Fix the application URL for Swarm chapter

Change

curl http://$(docker-machine ip swarm-node-01):8080/couchbase-javaee/resources/airline

to

curl http://$(docker-machine ip swarm-node-01):8080/airlines/resources/airline

Chapter 3 Newbie Tip

When I tried "docker run helloworld" the first time there was an error in my file. Should I stop/kill/remove the helloworld image? It might be a nice tip to add:

Problems with your image? Just get rid of it. Use the "docker xxx command"

Vagrant File

We can have a Vagrant file. That would make the setup one step easy.

May be we can mark it as enhancement.

Scale docker compose is causing Port Conflicts

Hi ,

Scaling docker container in docker compose having a port mapping is causing a port already in use error.

Error below docker-compose.exe scale mywildfly=2
The "mywildfly" service specifies a port on the host. If multiple containers for this service are created on a single host, the port will clash.
Creating and starting 2 ... error

ERROR: for 2 failed to create endpoint dockerfiles_mywildfly_2 on network dockerfiles_default: Bind for 0.0.0.0:8080 failed: port is already allocated

docker-compose.yml is

version: '2'
services:
mycouchbase:
container_name: "db"
image: arungupta/couchbase
ports:
- 8091:8091
- 8092:8092
- 8093:8093
- 11210:11210
mywildfly:
image: arungupta/wildfly-couchbase-javaee7
environment:
- COUCHBASE_URI=db
ports:
- 8080:8080

and the command to scale is : docker-compose.exe scale mywildfly=2.

@kirsid

Add create-cluster script to the Swarm chapter

#!/bin/bash
#set -x

# Docker Machine for Consul
docker-machine \
  create \
  -d virtualbox \
  consul-machine

# Start Consul
docker $(docker-machine config consul-machine) run -d --restart=always \
        -p "8500:8500" \
        -h "consul" \
        progrium/consul -server -bootstrap

# Docker Swarm master
docker-machine \
  create \
  -d virtualbox \
  --virtualbox-disk-size "5000" \
  --swarm \
  --swarm-master \
  --swarm-discovery="consul://$(docker-machine ip consul-machine):8500" \
  --engine-opt="cluster-store=consul://$(docker-machine ip consul-machine):8500" \
  --engine-opt="cluster-advertise=eth1:2376" \
  swarm-master

# Docker Swarm node-01
docker-machine \
  create \
  -d virtualbox \
  --virtualbox-disk-size "5000" \
  --swarm \
  --swarm-discovery="consul://$(docker-machine ip consul-machine):8500" \
  --engine-opt="cluster-store=consul://$(docker-machine ip consul-machine):8500" \
  --engine-opt="cluster-advertise=eth1:2376" \
  swarm-node-01

# Docker Swarm node-02
docker-machine \
  create \
  -d virtualbox \
  --virtualbox-disk-size "5000" \
  --swarm \
  --swarm-discovery="consul://$(docker-machine ip consul-machine):8500" \
  --engine-opt="cluster-store=consul://$(docker-machine ip consul-machine):8500" \
  --engine-opt="cluster-advertise=eth1:2376" \
  swarm-node-02

# Configure to use Docker Swarm cluster
eval "$(docker-machine env --swarm swarm-master)"

How to figure out container image content address remotely?

Since a while, container images can be addressed by their content using the registry/namespace/repository@digest syntax, where digest is usually of the form sha256:.... How can I learn this image content address remotely without pulling the image using docker pull ... and then running docker inspect ... | jq -r .[0].RepoDigests[0]?

The use-case is writing the FROM line of a Dockerfile, where I select the base image on e.g. Docker Hub or Quay.io. Neither of the two seems to be able to tell me the digest right away, so I would like to know the docker command which prints this or write a script to figure this out.

Remove --virtualbox-disk-size "5000" flag in docker-machine create

docker-machine create -d virtualbox --virtualbox-disk-size "5000" --swarm --swarm-master --swarm-discovery="consul://$(docker-machine ip consul-machine):8500" --engine-opt="cluster-store=consul://$(docker-machine ip consul-machine):8500" --engine-opt="cluster-advertise=eth1:2376" swarm-master

add "value proposition" or "problem/solution" intro slide

At the start of the presentation it was stated (paraphrasing here) that:

Yes, there's currently a lot of hype around docker, nonetheless, it's believed that docker will be around for a long time because it solves a real problem.

Can you define the "real problem" succinctly in an intro slide? It may be worthwhile to add an intro slide that states the core issue and, in a line or two, explains how docker addresses / solves the core problem, which ends up being the docker "value prop" to an organization.

Thanks!

Docker Slack community

Hii, @AlbaRoza i am trying to join the docker community and it is not working i saw in the comments that you are helping developers can you help me please.

Use sudo on linux VM

@arun-gupta
The docker-compose and docker commands need sudo to run on Ubuntu 15.10 (Wily Werewolf). This is should be noted in install instructions.

xml-fmt is not a command (curl http://192.168.99.100:8080/javaee-simple-sample/resources/persons | xml-fmt)

tomee $ curl http://192.168.99.100:8080/javaee-simple-sample/resources/persons | xml-fmt
-bash: xml-fmt: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 343 100 343 0 0 1321 0 --:--:-- --:--:-- --:--:-- 1324
(23) Failed writing body
tomee $ curl http://192.168.99.100:8080/javaee-simple-sample/resources/persons | xml
-bash: xml: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 343 100 343 0 0 38195 0 --:--:-- --:--:-- --:--:-- 42875
(23) Failed writing body

Stop containers. Possibly command typo?

In Stop Container section, the command given for stopping all containers is "docker stop $(docker ps -q)". That command didn't work for me. Did you mean -a or -aq?

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.