Skip to content

Accept all docker run options #10

Description

@augustohp

An example of workflow I am interested in:

  1. Someone appears with a doubt and some code I can run, it doesn't have Docker;
  2. I clone the repository and start a container for it:
    $ docker run -di --name www-php -v "${PWD}:/var/www" -w "/var/wwww" -p 8080:80 php:7.2-apache
    
  3. Now a bunch of dependencies are installed, amounting to a history like:
    $ docker exec -it www-php bash
    $ pecl install xdebug-2.6.0
    $ docker-php-ext-enable xdebug
    $ php bin/setup.php
    

The idea would be to use ship instead of docker run, enabling us to create a Dockerfile while we discover what is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions