1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Sebastiaan van Stijn 6b0ecacd92
gosec: G404: Use of weak random number generator
These should be ok to ignore for the purpose they're used

    pkg/namesgenerator/names-generator.go:843:36: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
        name := fmt.Sprintf("%s_%s", left[rand.Intn(len(left))], right[rand.Intn(len(right))])
                                          ^
    pkg/namesgenerator/names-generator.go:849:36: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
            name = fmt.Sprintf("%s%d", name, rand.Intn(10))
                                             ^
    testutil/stringutils.go:11:18: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
            b[i] = letters[rand.Intn(len(letters))]
                           ^
    pkg/namesgenerator/names-generator.go:849:36: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
            name = fmt.Sprintf("%s%d", name, rand.Intn(10))
                                             ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-10 13:03:18 +02:00
.github Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
api Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
builder Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
cli remove uses of deprecated pkg/term 2020-04-21 16:29:27 +02:00
client Update documentation links 2021-02-25 12:11:50 +01:00
cmd/dockerd Merge pull request #42451 from thaJeztah/remove_lcow_step1 2021-06-08 13:41:45 -07:00
container Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
contrib Merge pull request #42409 from joakimr-axis/joakimr-axis_noawk 2021-06-03 15:55:21 -07:00
daemon libcontainerd: remove LCOW bits 2021-06-09 22:05:10 +02:00
distribution distribution: fix errors tests 2021-02-23 09:49:49 +01:00
dockerversion Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
docs Fix typo on the v1.41 changelog 2021-04-07 22:29:07 +02:00
errdefs Implement Unwrap to errors 2020-11-21 16:36:35 +01:00
hack Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
image Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
integration Merge pull request #42028 from thaJeztah/fix_duplicate_volume_event 2021-06-09 12:01:21 +02:00
integration-cli Merge pull request #42028 from thaJeztah/fix_duplicate_volume_event 2021-06-09 12:01:21 +02:00
internal/test/suite integration-cli: move each test suite to its own TestX testing function 2019-09-18 18:26:36 +00:00
layer fix typo in comments 2021-03-02 23:03:04 +08:00
libcontainerd libcontainerd: remove LCOW bits 2021-06-09 22:05:10 +02:00
libnetwork Merge pull request #42503 from thaJeztah/bridge_redundant_list 2021-06-10 10:51:19 +01:00
oci replace uses of deprecated libcontainer/configs.Device 2021-06-02 17:55:51 +02:00
opts Fix libnetwork imports 2021-06-01 21:51:23 +00:00
patches Remove blurb about fixed in go1.11 in patch file 2020-04-24 11:23:14 -07:00
pkg gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
plugin vendor: github.com/containerd/containerd v1.5.2 2021-06-04 16:32:37 +02:00
profiles Enable process_vm_readv and process_vm_writev for kernel > 4.8 2021-03-04 17:12:01 +00:00
project Remove a lot of outdated "project/PACKAGERS.md" text 2021-06-08 14:24:19 -07:00
quota quota: move test helper functions to extra file 2020-10-05 13:28:25 +00:00
reference fix goimports 2020-02-11 22:16:54 +09:00
registry Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
reports
restartmanager unconvert: remove unnescessary conversions 2019-09-18 12:57:33 +02:00
rootless Merge pull request #41893 from AkihiroSuda/fix-41457 2021-04-06 14:30:40 +09:00
runconfig pkg/sysinfo: rm duplicates 2020-06-26 16:19:52 -07:00
testutil gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
vendor Merge pull request #42478 from thaJeztah/bump_selinux 2021-06-10 10:52:02 +01:00
volume volumes: only send "create" event when actually creating volume 2021-05-05 16:02:22 +02:00
.DEREK.yml
.dockerignore update .dockerignore to prevent '-unsupported' builds 2020-01-13 12:55:15 +01:00
.gitignore Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
.mailmap Update AUTHORS and mailmap 2021-06-04 02:18:49 +02:00
AUTHORS Update AUTHORS and mailmap 2021-06-04 02:18:49 +02:00
CHANGELOG.md changelog: fix incorrectly named libnetwork label 2021-05-31 15:27:46 +02:00
codecov.yml
CONTRIBUTING.md
Dockerfile Merge pull request #42262 from cpuguy83/move_libnetwork 2021-06-03 12:06:31 -07:00
Dockerfile.e2e Move use of debian:buster frozen image to debian:bullseye 2020-12-19 17:59:36 +01:00
Dockerfile.simple Dockerfile.simple: Fix compile docker binary error with btrfs 2021-02-03 23:16:15 +00:00
Dockerfile.windows Force Download-File function to use TLS 1.2 2020-09-20 23:18:16 +03:00
Jenkinsfile Ensure ip6table_filter module on all ci nodes for libnetwork 2021-06-01 22:54:09 +00:00
LICENSE
MAINTAINERS Add Samuel Karp as a maintainer 2021-05-20 12:54:40 -07:00
Makefile Makefile: install buildx from binary release, instead of building 2021-05-18 17:25:22 +02:00
NOTICE switch kr/pty to creack/pty v1.1.7 2019-07-29 16:59:08 -07:00
poule.yml Poule: remove random assign 2019-09-05 20:57:17 +02:00
README.md
ROADMAP.md
SECURITY.md
TESTING.md TESTING.md: note that integration-cli is deprecated 2020-12-18 07:51:46 +01:00
vendor.conf Merge pull request #42478 from thaJeztah/bump_selinux 2021-06-10 10:52:02 +01:00
VENDORING.md

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 system, 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.