Using
–name argument, you can assign a name to your container.
Example
docker run
--name myWebApplication jboss/wildfly
$docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c468cd633430 jboss/wildfly "/opt/jboss/wildfly/…" 43 seconds ago Up 42 seconds 8080/tcp myWebApplication
No comments:
Post a Comment