2
respostas

Docker com openshift e jboss eap 7.1

Boa tarde!

Preciso criar um contêiner com openshift e jboss, porém ao baixar a imagem do openshift e tentar dar start na mesma, ocorre erro. Como é o primeiro contêiner que estou fazer, gostaria de algumas dicas sobre como fazer.

Acebei de finalizar o curso de Docker, mas ainda tenho dúvidas em como criar o contêiner.

2 respostas

Oi Daiane,

Qual erro ocorre?

Bom dia Otávio! Estes são os containers, acabei criando vários pois quando dou o comando ocorre isso.

PS C:\WINDOWS\system32> docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 45c69ccb8ad9 openshift/origin "/usr/bin/openshift …" 16 hours ago Exited (1) 16 hours ago jolly_noyce 4d19726aa9cf openshift/origin "/usr/bin/openshift" 16 hours ago Exited (1) 16 hours ago sad_wright 9610d4aeed25 openshift/origin "/usr/bin/openshift" 16 hours ago Exited (1) 16 hours ago festive_pascal 1f8e106c2ad3 openshift/origin "/usr/bin/openshift" 16 hours ago Exited (1) 16 hours ago laughing_payne 3d51046353cd openshift/origin "/usr/bin/openshift" 16 hours ago Exited (1) 16 hours ago nostalgic_shaw e9a124fdd4ae openshift/origin "/usr/bin/openshift" 20 hours ago Exited (1) 20 hours ago confident_haslett 0c092d69ce1a daggerok/jboss-eap-7.1 "/bin/sh -c standalo…" 21 hours ago Up 17 hours 8080/tcp, 8443/tcp, 9990/tcp naughty_blackwell a9e86a6dc903 openshift/origin "/usr/bin/openshift" 21 hours ago Exited (1) 21 hours ago frosty_poincare 5ddb07e4b944 openshift/origin "/usr/bin/openshift" 21 hours ago Exited (1) 21 hours ago focused_joliot 5e2f7245aec4 hello-world "/hello" 21 hours ago Exited (0) 21 hours ago upbeat_johnson

====esse é o comando e o erro segue abaixo PS C:\WINDOWS\system32> docker run openshift/origin OpenShift Application Platform

The OpenShift distribution of Kubernetes helps you build, deploy, and manage your applications on top of Docker containers. To start an all-in-one server with the default configuration, run:

$ openshift start &

Usage: openshift [flags]

Available Commands: completion Output shell completion code for the specified shell (bash or zsh) help Help about any command start Launch all-in-one server version Display version

Use "openshift --help" for more information about a given command. Use "openshift options" for a list of global command-line options (applies to all commands). PS C:\WINDOWS\system32>