Git Product home page Git Product logo

docs's Introduction

Docs @ Docker

Welcome to Docker Documentation

Welcome to the Docker Documentation repository. This is the source for https://docs.docker.com/.

Feel free to send us pull requests and file issues. Our docs are completely open source, and we deeply appreciate contributions from the Docker community!

Provide feedback

We’d love to hear your feedback. Please file documentation issues only in the Docs GitHub repository. You can file a new issue to suggest improvements or if you see any errors in the existing documentation.

Before submitting a new issue, check whether the issue has already been reported. You can join the discussion using an emoji, or by adding a comment to an existing issue. If possible, we recommend that you suggest a fix to the issue by creating a pull request.

You can ask general questions and get community support through the Docker Community Slack. Personalized support is available through the Docker Pro, Team, and Business subscriptions. See Docker Pricing for details.

If you have an idea for a new feature or behavior change in a specific aspect of Docker or have found a product bug, file that issue in the project's code repository.

We've made it easy for you to file new issues.

  • Click New issue on the docs repository and fill in the details, or

  • Click Request docs changes in the right column of every page on docs.docker.com and add the details, or

    Request changes link

  • Click the Give feedback link on the side of every page in the docs.

    Docs feedback on each page

Contribute to Docker docs

We value your contribution. We want to make it as easy as possible to submit your contributions to the Docker docs repository. Changes to the docs are handled through pull requests against the main branch. To learn how to contribute, see CONTRIBUTING.md.

Copyright and license

Copyright 2013-2023 Docker, Inc., released under the Apache 2.0 license .

docs's People

Contributors

aanand avatar aevesdocker avatar ahh-docker avatar aluzzardi avatar bermudezmt avatar bfirsh avatar calavera avatar cpuguy83 avatar creack avatar crosbymichael avatar cyli avatar dgageot avatar dnephin avatar dvdksn avatar ehazlett avatar jmorganca avatar johndmulhausen avatar lk4d4 avatar nathanleclaire avatar scjane avatar seanli avatar stevvooe avatar svendowideit avatar thajeztah avatar tianon avatar tiborvass avatar unclejack avatar usha-mandya avatar vdemeester avatar vieux 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Feedback for: machine/drivers/vsphere.md

I've tried to create a docker-machine on my local ESXi server with the following command:
docker-machine create --driver vmwarevsphere --vmwarevsphere-username=root --vmwarevsphere-password=secret --vmwarevsphere-vcenter=192.168.10.166 vm
All went OK and my log was:
Running pre-create checks... Creating machine... (vm) Copying /Users/michal/.docker/machine/cache/boot2docker.iso to /Users/michal/.docker/machine/machines/vm/boot2docker.iso... (vm) Generating SSH Keypair... (vm) Creating VM... (vm) Uploading Boot2docker ISO ... (vm) Reconfiguring VM... (vm) Waiting for VMware Tools to come online... (vm) Provisioning certs and ssh keys... Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Detecting the provisioner... Provisioning with boot2docker... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... Checking connection to Docker... Docker is up and running! To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env vm
However, when I run docker-machine env vm then I get the following error:
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "172.17.0.1:2376": dial tcp 172.17.0.1:2376: i/o timeout
and nothing works. On docker-machine ls the state of the machine is Timeout. What is wrong and how can I fix this?

Remark: when I look to config.json and ssh SSHUser@IPAddress then I can login into vm. But I cannot use docker client with it.

Feedback for: engine/installation/mac.md

URL: engine/installation/mac.md

is there a setup script to deploy Docker for Mac? It would be nice to have a script that Docker is completely setup once it's in the /Applications folder. The goal is to use a application delivery system and have Docker be completely installed.

ucp install --host-address flag incorrect

per docs here: https://docs.docker.com/ucp/reference/install/

--host-address Specify the visible IP/hostname for this node.

however, passing an actual hostname results in the error below. Hostnames cannot be used, only ipv4 names

FATA[0046] Unsupported host address (ucp.mydomain.com). Please specify an IPv4 address using the '--host-address' flag, and pass the hostname using the '--san' flag.

Markdown not being rendered correctly

These pages are not being correctly rendered:

Feedback for: engine/userguide/networking/work-with-networks.md

URL: engine/userguide/networking/work-with-networks.md

"$ docker run -d --name redis_db --network multihost redis

ERROR: Cannot start container bc0b19c089978f7845633027aa3435624ca3d12dd4f4f764b61eac4c0610f32e: container already connected to network multihost

$ docker rm -f redis_db

$ docker network disconnect -f multihost redis_db

$ docker run -d --name redis_db --network multihost redis

7d986da974aeea5e9f7aca7e510bdb216d58682faa83a9040c2f2adc0544795a"

use unknown network multihost

Missing recommended package for Ubuntu install of CS engine

The CS Docker engine Ubuntu docs show:

Install additional virtual drivers not in the base image.
$ sudo apt-get install -y linux-image-extra-virtual

There is a chance they will get devicemapper if the virtual package pulls down a newer version of the kernel that is available. This puts the users in a non-supported configuration. It should be:

Install additional virtual drivers not in the base image.
$ sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual

/ping @mbentley

Bootstrap bug causes "This Page" div to be placed wrong

The Bootstrap grid needs to add up to 12 at every screen resolution, but it adds up to 14 in medium and larger sizes currently. You can read more about the Bootstrap grid at http://v4-alpha.getbootstrap.com/layout/grid/.

Basically, within a

, all child divs have a class that corresponds to how much of the row they should take up at xs, s, md, lg, and xl resolutions. Here we have:

<div class="row">
  <div class="col-xs-12 col-sm-3 col-md-2 docsidebarnav_section">...</div>
  <div class="col-xs-12 col-sm-9 col-md-10">...</div>
  <div class="hidden-xs hidden-sm col-md-2 tableofcontents_section">...</div>
</div>

On xs sizes (phones, let's say), the first two divs each take the full amount of space (they stack vertically) and the third one is hidden.

On s sizes (large tablets or laptops), the first div takes 3/12 and the second takes 9/12. The third one is still hidden.

On md sizes (large laptops or more conventional monitors, perhaps), the first takes 2/12, the second takes 10/12, and the third takes 2/12. 2+12+2 = 14 > 12, so the third div falls off. The fix is to reduce the middle div to 8/12.

We don't currently specify lg or xl sizes right now, so they will use the md specifications. In my PR, I'll also add an xl size that makes the third column narrower to take advantage of super wide screens.

If we wanted the ability to hide one or both of the menus, we'd just add a toggle button that used Javascript to add or remove classes to the relevant div.

Feedback for: engine/userguide/networking/work-with-networks.md

URL: engine/userguide/networking/work-with-networks.md

"Let’s try to reach these aliases from container4 (which is connected to both these networks) and container5 (which is connected only to isolated_nw)."
isolated_nw not included container5 now! (docker network disconnect isolated_nw container5)
flip example logic with "local_alias"

Feedback for: engine/reference/commandline/ps.md

URL: engine/reference/commandline/ps.md

Actions are missing from the format parameters of examples on docs.docker.com.
I see $ docker ps --format "table \t" on the website and $ docker ps --format "table {{.ID}}\t{{.Labels}}" when looking the file being rendered by github. inspect.md has the same problem.

Feedback for: engine/reference/run.md

URL: engine/reference/run.md

Table tag in ENV section appears to be escaped in the output HTML, which causes the rest of the page to render improperly.

docs: improve devicemapper configuration instructions

transferred to here from moby/moby#27020

https://docs.docker.com/engine/userguide/storagedriver/device-mapper-driver/#/for-a-direct-lvm-mode-configuration

This doc informs users to push all images to a remote registry and then informs to rm -f /var/lib/docker, thus removing everything including certs that may be stored under this directory tree. For good reasons, we instruct users to change from the default devicemapper loopback configuration that we recommended in early releases, of which they maybe running UCP on those nodes. Deleting the certs in /var/lib/docker/discovery_certs creates a far more complex recovery scenario than just copying the certs back after the lvm changes have been completed. This is the error received when you try to start up the docker daemon after following the doc instructions on a UCP node.

Initializing discovery with TLS
Error starting daemon: discovery initialization failed (Could not read CA certificate \ "/var/lib/docker/discovery_certs/ca.pem" open /var/lib/docker/discovery_certs/ca.pem: no such file or directory

Can additional steps be written into the referenced doc perhaps such as copy the /var/lib/docker directory to /tmp to enable the recovery of items such as certs, etc in order to keep from placing users into extensive recovery scenarios. thnx

Feedback for: engine/admin/logging/splunk.md

URL: engine/admin/logging/splunk.md

My environment is "docker for windows v1.12.1 and VirtualBox on windows 10"; created a node using command "docker-machine create --driver virtualbox node1". Once a node is created, how can the daemon be configured? This is the error I am getting:
docker@node1:~$ dockerd --log-driver=splunk
FATA[0000] Error starting daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid

where is the daemon configuration file that can be configured before restarting the node?

Feedback for: engine/reference/commandline/dockerd.md

URL: engine/reference/commandline/dockerd.md

My environment is "docker for windows v1.12.1" on windows 10 and VirtualBox; created a node with "docker-machine create --driver virtualbox". where do I find daemon configuration file please? Is it not under %programdata%\docker\config\daemon.json

Feedback for: docker-for-windows/troubleshoot.md

URL: docker-for-windows/troubleshoot.md
There appears to be no documentation on how to lower StartupBytes for MobyLinuxVM below 1024MB. I've altered mine by calling

Set-VMMemory mobylinuxvm -StartupBytes 64MB -DynamicMemoryEnabled $true -MinimumBytes 64MB -MaximumBytes 512MB

but these changes are reverted once I start "docker for windows.exe". I can't find the location where docker for windows stores these settings to adjust them accordingly.

edit: I've figured out that VmMemory in %appdata%\Docker\settings.json configures StartupBytes. This should be documented.

Provide instructions for stopping the nginx container in the example

The tutorial gives an example of starting a container which runs nginx. Since the container runs in the background, we should probably tell the user how to stop it. The other examples before this one are short-lived and exit after the command finishes, or by exiting the shell.

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.