Giter VIP home page Giter VIP logo

docker-cheat-sheet's Issues

bricked my linux box

Ran this command running latest docker and ubuntu - fully patched/updated:

docker network create --subnet 192.168.1.0/24 --gateway 192.168.1.1 iptastic

Wasn't expecting that

Fix Travis CI errors

Please can someone take a look at this Travis CI errors people keep getting when trying to deploy to master. Below are some logs i got from my last attempt:

Checking white listed URLs: โ†’

White listed:

  1. [L462] 301 https://docs.vagrantup.com/v2/networking/forwarded_ports.html โ†’ https://www.vagrantup.com/docs/networking/forwarded_ports.html
    Issues :-(

Links

  1. [L375] 404 https://docs.docker.com/engine/examples/running_redis_service/
  2. [L489] https://engineering.salesforceiq.com/2013/11/05/a-docker-dev-environment-in-24-hours-part-2-of-2.html getaddrinfo: Name or service not known
  3. [L497] 404 http://reventlov.com/advisories/using-the-docker-command-to-root-the-host
    Wrote results to ab-results-README.md.json
    Wrote filtered results to ab-results-README.md-filtered.json
    Wrote markdown table results to ab-results-README.md-markdown-table.json
    The command "awesome_bot README.md --allow-redirect --allow-dupe -w vagrantup.com" exited with 1.
    Done. Your build exited with 1.

Docker Swarm Command aka docker service [...]

Hi,

I'm looking for resources to migrate my compose v2 setup into docker services ... with some bash script to launch multiple docker cmd (build - push docker service).

Is documentation for Swarm in the roadmap ?
Cheers!

Clarify "Containers are not transient"

Could you elaborate a bit on the following comment?

Containers are not transient. docker run doesn't do what you think.

Specifically:

  • define transient (is "not transient" equivalent to "persistent"?)
  • what does docker run do that is not intuitive?

Any plans to expand for linux?

Hey! Love your cheat sheet. Just wondering if you have any plans on expanding it to include Linux. Most people probably use Ubuntu or similar flavors, though I quess some would use Fedora or Arch. Ubuntu is more of what I'm looking for though.

Lemme know! :D

Add shipyard

Maybe you could add shipyard to your list of tools.

Use releases

It would be nice if you make releases on a regular basis. A release could be done after some minor or a major edit.

Port 80

I am using a grafana dokcer image. By default it runs at port 3000. How do I change it to 80

New docker CLI conventions

The new docker cli convention is migrating from single sub-command to pair of management commands. So, It's better to update this document to new interface.

Examples:

# docker rm my-container
docker container rm my-container

# docker ls
docker container ls

# docker run python
docker container run python

# docker pull python
docker image pull python

License?

Hey there, I'd like to use parts of this cheat sheet as a part of a larger work I'm writing. Would that be okay? Just checking since there's no license file/notice.

Thanks!

Exposing ports incorrect?

I'm new to docker and appreciate the cheat-sheet. I'm probably doing something wrong, but after fighting with EXPOSE, it seems the cheat-sheet is wrong.

Exposing ports says:

If you don't want to use the -p option on the command line, you can persist port forwarding by using EXPOSE

But the documents say:

The EXPOSE instruction informs Docker that the container listens on the specified network ports at runtime. EXPOSE does not make the ports of the container accessible to the host. To do that, you must use either the -p flag to publish a range of ports or the -P flag to publish all of the exposed ports.

A FYI - A Fork you might be interested in

Hi,
Although I originally forked from your repo, I've discovered a fairly large number of inaccuracies plus decided to re-word and re-organize considerably to where there is currently only approx 20% original work and 80% modified... And as I continue to review I will make more modifications.

With that much change, it's probably not practical to submit pull requests, and I will maintain my work as a permanent fork, but you are more than welcome to update your repo from my fork as much as you might like.

Thank you much for your original work, it has been extremely useful.

putztzu
https://github.com/putztzu/docker-cheat-sheet

Validate Links

Hello, I wrote a tool that can validate README links (valid URLs, not duplicate). It can be run when someone submits a pull request.

It is currently being used by many projects including

Examples

If you are interested, connect this repo to https://travis-ci.org/ and add a .travis.yml file to the project.

See https://github.com/dkhamsing/awesome_bot for options, more information
Feel free to leave a comment ๐Ÿ˜„

Why do you say docker image ids are sensitive?

I don't understand the sentiment behind:

Docker image ids are sensitive information
and should not be exposed to the outside
world. Treat them like passwords.

This only seems to be the case when a public registry is being used. If you agree, will you add a note stating as much?

source docs url change

docker docs seem to have changed their url structure

e.g. https://docs.docker.com/reference/commandline/cli/#restart should now be https://docs.docker.com/reference/commandline/restart/

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.