Project

dort

0.0
No commit activity in last 3 years
No release in over 3 years
docker ports summary
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0

Runtime

 Project Readme

Dort

List port used by container

Installation

$ gem install dort

Usage

$ dort

and help

$ dort -h
Usage: dort [options]
    -p, --port                       show publish ports only
    -e, --expose                     show expose ports only
    -l, --list                       list host port used by container

example

$ dort -l
HOST_PORTS
80
443
3306
5000
5432
6080
6379
8080
8023
10001
10002
10003
10004
10005

Change socket

If you need to connect to other server or another location socket, you can set access point via DOCKER_URL variables. For example:

$ DOCKER_URL=unix:///var/docker.sock dort
$ DOCKER_URL=tcp://example.com:1000 dort

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/flum1025/dort. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Dort project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.