Skip to content

portless run-docker for running containers with docker or podman #314

Description

@nektro

current portless run is called like so

portless run [CMD...]

which launches CMD with the $PORT environment variable set

I am suggesting

portless run-docker [NAME] [CPORT] [ARGS...]

which would call

docker run --publish PORT:CPORT ARGS...

so therefor:

portless run-docker shynet 8080 milesmcc/shynet

eg would launch https://hub.docker.com/r/milesmcc/shynet on http://shynet.localhost

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions