Metadata-Version: 2.1
Name: docker-recreate
Version: 1.3.2
Summary: Get docker run command from container
Home-page: https://www.github.com/jeffrey4l/docker-recreate
Author: Jeffrey Zhang
Author-email: zhang.lei.fly@gmail.com
License: UNKNOWN
Description: # docker recreate tools
        
        This is a small tool to print re-create existance docker container run commands.
        
        # Install
        
        ```bash
        # through pip
        pip install docker-recreate
        
        
        # using curl
        curl https://raw.githubusercontent.com/jeffrey4l/docker-recreate/master/main.py \
            -o /usr/local/bin/docker-recreate
        chmod +x /usr/local/bin/docker-recreate
        
        
        # for China
        curl https://raw.fastgit.org/jeffrey4l/docker-recreate/master/main.py \
            -o /usr/local/bin/docker-recreate
        chmod + /usr/local/bin/docker-recreate
        ```
        
        # Usage
        
        ```console
        $ docker-recreate -h
        usage: docker-recreate [-h] [--format {csv,json,oneline,string,yaml}] container [container ...]
        
        positional arguments:
          container
        
        optional arguments:
          -h, --help            show this help message and exit
          --format {csv,json,oneline,string,yaml}, -f {csv,json,oneline,string,yaml}
        ```
        
        ```console
        $ docker-create grafana
        docker \
            run \
            -d \
            --name grafana \
            --network host \
            --restart always \
            -v grafana:/var/lib/grafana:rw \
            grafana/grafana:8.0.3
        ```
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
