github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/README.md (about)

     1  [![build status](https://circleci.com/gh/docker/cli.svg?style=shield)](https://circleci.com/gh/docker/cli/tree/master) [![Build Status](https://jenkins.dockerproject.org/job/docker/job/cli/job/master/badge/icon)](https://jenkins.dockerproject.org/job/docker/job/cli/job/master/)
     2  
     3  docker/cli
     4  ==========
     5  
     6  This repository is the home of the cli used in the Docker CE and
     7  Docker EE products.
     8  
     9  Development
    10  ===========
    11  
    12  `docker/cli` is developed using Docker.
    13  
    14  Build a linux binary:
    15  
    16  ```
    17  $ make -f docker.Makefile binary
    18  ```
    19  
    20  Build binaries for all supported platforms:
    21  
    22  ```
    23  $ make -f docker.Makefile cross
    24  ```
    25  
    26  Run all linting:
    27  
    28  ```
    29  $ make -f docker.Makefile lint
    30  ```
    31  
    32  List all the available targets:
    33  
    34  ```
    35  $ make help
    36  ```
    37  
    38  ### In-container development environment
    39  
    40  Start an interactive development environment:
    41  
    42  ```
    43  $ make -f docker.Makefile shell
    44  ```
    45  
    46  In the development environment you can run many tasks, including build binaries:
    47  
    48  ```
    49  $ make binary
    50  ```
    51  
    52  Legal
    53  =====
    54  *Brought to you courtesy of our legal counsel. For more context,
    55  please see the [NOTICE](https://github.com/docker/cli/blob/master/NOTICE) document in this repo.*
    56  
    57  Use and transfer of Docker may be subject to certain restrictions by the
    58  United States and other governments.
    59  
    60  It is your responsibility to ensure that your use and/or transfer does not
    61  violate applicable laws.
    62  
    63  For more information, please see https://www.bis.doc.gov
    64  
    65  Licensing
    66  =========
    67  docker/cli is licensed under the Apache License, Version 2.0. See
    68  [LICENSE](https://github.com/docker/docker/blob/master/LICENSE) for the full
    69  license text.