anchor.diff:  ## Build and Deploy Java EE 7 Application
   
  -https://github.com/javaee-samples/javaee7-simple-sample[Java EE 7 Simple Sample] is a trivial Java EE 7 sample application.
  +Now that you learned a lot about images, containers and how to link them together, it is about time to learn about the different deployment options. Let's start over with the Java EE 7 sample applications again.
  +https://github.com/javaee-samples/javaee7-simple-sample[Java EE 7 Simple Sample] is a trivial Java EE 7 sample application and a perfect way to start.
   
   [[Build_Application]]
   ### Build Application
  +We're going to build the application first.
   
   . Clone the repo:
   
  
positive.code: docker run --name wildfly -d -p 8080:8080 -v `pwd`/deployments:/opt/jboss/wildfly/standalone/deployments/:rw classroom.example.com:5000/wildfly
  ----
  
  This command starts a container named "`wildfly`".
  
  The `-v` flag maps a directory from the host into the container. This will be the directory to put the deployments. `rw` ensures that the Docker container can write to it.
  
  WARNING: Windows users, please make sure to use `-v /c/Users/` notation for drive letters.
  
  Check logs to verify if the server has started.
  
  [source, text]
  
negative.code: ### Start Application Server
  
  
  Create a folder to place the deployments and give it write access
  
  [source, text]
  ----
  