Project

General

Profile

Actions

Support #23562

open

Not able to expose ip and port

Added by Sergio Lins over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Category:
Plugin (foreman_docker)
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

When a container is create through foreman_docker plugin de ip is not exposed.

The container could not be access from other servers.

Create with command line:

docker run --name mysql8 -p 3306:3306 -p 33060:33060 -d mysql/mysql-server:8.0.3

docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
454442537f56 mysql/mysql-server:8.0.3 “/entrypoint.sh mysq…” About a minute ago Up About a minute (healthy) 0.0.0.0:3306->3306/tcp, 33060/tcp mysql8

Created with foreman

docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b1163d988c43 mysql/mysql-server:8.0.3 “/entrypoint.sh mysq…” 3 minutes ago Up 3 minutes (healthy) 3306/tcp, 33060/tcp mysql8

Foreman 1.16

Foreman_docker plugin

foreman_docker Provision and manage Docker containers and images from Foreman. Daniel Lobato, Amos Benari 3.2.1

Actions #1

Updated by Sergio Lins over 6 years ago

  • Assignee set to Daniel Lobato Garcia
Actions #2

Updated by Sergio Lins over 6 years ago

  • Assignee changed from Daniel Lobato Garcia to Sebastian Gräßl
Actions

Also available in: Atom PDF