title: Docker container start error
body: <pre><code>canerapp:
    image: tomcat
    ports:
      - "8000:8000"
  </code></pre>
  
  <p>this is my compose.yml.
   when i run to up</p>
  
  <blockquote>
    <p>caner@vegan:~/IdeaProjects/homework$ docker-compose up Creating
    homework_canerapp_1 Attaching to homework_canerapp_1 canerapp_1  |
    31-Aug-2016 07:31:53.362 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Server version: 
    Apache Tomcat/8.0.36 canerapp_1  | 31-Aug-2016 07:31:53.363 INFO
    [main] org.apache.catalina.startup.VersionLoggerListener.log Server
    built:          Jun 9 2016 13:55:50 UTC canerapp_1  | 31-Aug-2016
    07:31:53.364 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Server number:<br>
    8.0.36.0 canerapp_1  | 31-Aug-2016 07:31:53.364 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:<br>
    Linux canerapp_1  | 31-Aug-2016 07:31:53.364 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log OS Version:<br>
    4.4.0-34-generic canerapp_1  | 31-Aug-2016 07:31:53.364 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:<br>
    amd64 canerapp_1  | 31-Aug-2016 07:31:53.364 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Java Home:<br>
    /usr/lib/jvm/java-7-openjdk-amd64/jre canerapp_1  | 31-Aug-2016
    07:31:53.364 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log JVM Version:<br>
    1.7.0_111-b01 canerapp_1  | 31-Aug-2016 07:31:53.365 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:<br>
    Oracle Corporation canerapp_1  | 31-Aug-2016 07:31:53.365 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:<br>
    /usr/local/tomcat canerapp_1  | 31-Aug-2016 07:31:53.365 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:<br>
    /usr/local/tomcat canerapp_1  | 31-Aug-2016 07:31:53.365 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument:
    -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
    canerapp_1  | 31-Aug-2016 07:31:53.365 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument:
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager canerapp_1  | 31-Aug-2016 07:31:53.366 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djdk.tls.ephemeralDHKeySize=2048 canerapp_1  | 31-Aug-2016
    07:31:53.366 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed canerapp_1 
    | 31-Aug-2016 07:31:53.366 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Dcatalina.base=/usr/local/tomcat canerapp_1  | 31-Aug-2016
    07:31:53.366 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Dcatalina.home=/usr/local/tomcat canerapp_1  | 31-Aug-2016
    07:31:53.366 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djava.io.tmpdir=/usr/local/tomcat/temp canerapp_1  |
    31-Aug-2016 07:31:53.366 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded
    APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.1.
    canerapp_1  | 31-Aug-2016 07:31:53.367 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
    capabilities: IPv6 [true], sendfile [true], accept filters [false],
    random [true]. canerapp_1  | 31-Aug-2016 07:31:53.422 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
    successfully initialized (OpenSSL 1.0.2h  3 May 2016) canerapp_1  |
    31-Aug-2016 07:31:54.256 INFO [main]
    org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 07:31:54.282 INFO [main]
    org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
    ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016 07:31:54.285 INFO [main]
    org.apache.catalina.startup.Catalina.load Initialization processed in
    2933 ms canerapp_1  | 31-Aug-2016 07:31:54.373 INFO [main]
    org.apache.catalina.core.StandardService.startInternal Starting
    service Catalina canerapp_1  | 31-Aug-2016 07:31:54.374 INFO [main]
    org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
    Engine: Apache Tomcat/8.0.36 canerapp_1  | 31-Aug-2016 07:31:54.442
    INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/ROOT canerapp_1  |
    31-Aug-2016 07:31:56.275 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/ROOT has finished
    in 1,832 ms canerapp_1  | 31-Aug-2016 07:31:56.275 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/manager canerapp_1  |
    31-Aug-2016 07:31:56.337 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/manager has
    finished in 61 ms canerapp_1  | 31-Aug-2016 07:31:56.337 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/docs canerapp_1  |
    31-Aug-2016 07:31:56.372 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/docs has finished
    in 35 ms canerapp_1  | 31-Aug-2016 07:31:56.373 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/host-manager
    canerapp_1  | 31-Aug-2016 07:31:56.475 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/host-manager has
    finished in 103 ms canerapp_1  | 31-Aug-2016 07:31:56.475 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/examples canerapp_1  |
    31-Aug-2016 07:31:56.949 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/examples has
    finished in 474 ms canerapp_1  | 31-Aug-2016 07:31:56.954 INFO [main]
    org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 07:31:56.966 INFO [main]
    org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
    ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016 07:31:56.969 INFO [main]
    org.apache.catalina.startup.Catalina.start Server startup in 2683 ms</p>
  </blockquote>
  
  <p>what i want to do is, seeing an simple html file in my web local host after i run compose up. but i cant see anything in 8080 8000 8009 ports in localhost.</p>
  
  <p>also when i change yml to this</p>
  
  <pre><code>canerapp:
    image: tomcat
    ports:
      - "8000:8000"
  volumes:
       - ./html:/home/caner/IdeaProjects/homework/html
  </code></pre>
  
  <p>it says</p>
  
  <blockquote>
    <p>In file './docker-compose.yml', service 'volumes' must be a mapping
    not an array.</p>
  </blockquote>
  
  <p>my file directory is like that</p>
  
  <blockquote>
    <p>caner@vegan:~/IdeaProjects/homework$ pwd
    /home/caner/IdeaProjects/homework caner@vegan:~/IdeaProjects/homework$
    ls docker-compose.yml  html caner@vegan:~/IdeaProjects/homework$ ls
    html index.html caner@vegan:~/IdeaProjects/homework$</p>
    
    <p>homework  html   indx.html  docker-compose.yml</p>
  </blockquote>
  
  <p>this is also my index.html</p>
  
  <pre><code>welcome hello world
  </code></pre>
  
  <p>what am i doin wrong?</p>
  
  <p>edit:</p>
  
  <p>i changed my compose to this</p>
  
  <pre><code>version: '2'
  services: 
   canerapp:
     image: tomcat
     ports:
       - "8090:8091"
     volumes:
       - ./html/index.html:/var/www/html
  </code></pre>
  
  <p>and now logs are</p>
  
  <blockquote>
    <p>caner@vegan:~/IdeaProjects/homework$ docker-compose logs  Attaching to
    homework_canerapp_1 canerapp_1  | 31-Aug-2016 08:32:04.353 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Server version: 
    Apache Tomcat/8.0.36 canerapp_1  | 31-Aug-2016 08:32:04.354 INFO
    [main] org.apache.catalina.startup.VersionLoggerListener.log Server
    built:          Jun 9 2016 13:55:50 UTC canerapp_1  | 31-Aug-2016
    08:32:04.354 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Server number:<br>
    8.0.36.0 canerapp_1  | 31-Aug-2016 08:32:04.354 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:<br>
    Linux canerapp_1  | 31-Aug-2016 08:32:04.354 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log OS Version:<br>
    4.4.0-34-generic canerapp_1  | 31-Aug-2016 08:32:04.354 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:<br>
    amd64 canerapp_1  | 31-Aug-2016 08:32:04.354 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Java Home:<br>
    /usr/lib/jvm/java-7-openjdk-amd64/jre canerapp_1  | 31-Aug-2016
    08:32:04.354 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log JVM Version:<br>
    1.7.0_111-b01 canerapp_1  | 31-Aug-2016 08:32:04.354 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:<br>
    Oracle Corporation canerapp_1  | 31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:<br>
    /usr/local/tomcat canerapp_1  | 31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:<br>
    /usr/local/tomcat canerapp_1  | 31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument:
    -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
    canerapp_1  | 31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument:
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager canerapp_1  | 31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djdk.tls.ephemeralDHKeySize=2048 canerapp_1  | 31-Aug-2016
    08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed canerapp_1 
    | 31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Dcatalina.base=/usr/local/tomcat canerapp_1  | 31-Aug-2016
    08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Dcatalina.home=/usr/local/tomcat canerapp_1  | 31-Aug-2016
    08:32:04.355 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djava.io.tmpdir=/usr/local/tomcat/temp canerapp_1  |
    31-Aug-2016 08:32:04.355 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded
    APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.1.
    canerapp_1  | 31-Aug-2016 08:32:04.356 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
    capabilities: IPv6 [true], sendfile [true], accept filters [false],
    random [true]. canerapp_1  | 31-Aug-2016 08:32:04.359 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
    successfully initialized (OpenSSL 1.0.2h  3 May 2016) canerapp_1  |
    31-Aug-2016 08:32:04.442 INFO [main]
    org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:32:04.452 INFO [main]
    org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
    ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016 08:32:04.454 INFO [main]
    org.apache.catalina.startup.Catalina.load Initialization processed in
    530 ms canerapp_1  | 31-Aug-2016 08:32:04.476 INFO [main]
    org.apache.catalina.core.StandardService.startInternal Starting
    service Catalina canerapp_1  | 31-Aug-2016 08:32:04.476 INFO [main]
    org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
    Engine: Apache Tomcat/8.0.36 canerapp_1  | 31-Aug-2016 08:32:04.486
    INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/ROOT canerapp_1  |
    31-Aug-2016 08:32:04.927 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/ROOT has finished
    in 441 ms canerapp_1  | 31-Aug-2016 08:32:04.927 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/manager canerapp_1  |
    31-Aug-2016 08:32:04.973 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/manager has
    finished in 46 ms canerapp_1  | 31-Aug-2016 08:32:04.973 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/docs canerapp_1  |
    31-Aug-2016 08:32:04.996 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/docs has finished
    in 23 ms canerapp_1  | 31-Aug-2016 08:32:04.996 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/host-manager
    canerapp_1  | 31-Aug-2016 08:32:05.018 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/host-manager has
    finished in 22 ms canerapp_1  | 31-Aug-2016 08:32:05.018 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/examples canerapp_1  |
    31-Aug-2016 08:32:05.324 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/examples has
    finished in 306 ms canerapp_1  | 31-Aug-2016 08:32:05.327 INFO [main]
    org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:32:05.333 INFO [main]
    org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
    ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016 08:32:05.333 INFO [main]
    org.apache.catalina.startup.Catalina.start Server startup in 879 ms
    canerapp_1  | 31-Aug-2016 08:32:46.959 INFO [Thread-3]
    org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:32:47.015 INFO
    [Thread-3] org.apache.coyote.AbstractProtocol.pause Pausing
    ProtocolHandler ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016
    08:32:47.067 INFO [Thread-3]
    org.apache.catalina.core.StandardService.stopInternal Stopping service
    Catalina canerapp_1  | 31-Aug-2016 08:32:47.124 INFO [Thread-3]
    org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:32:47.175 INFO
    [Thread-3] org.apache.coyote.AbstractProtocol.stop Stopping
    ProtocolHandler ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016
    08:32:47.228 INFO [Thread-3]
    org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:32:47.230 INFO
    [Thread-3] org.apache.coyote.AbstractProtocol.destroy Destroying
    ProtocolHandler ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016
    08:33:15.981 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Server version: 
    Apache Tomcat/8.0.36 canerapp_1  | 31-Aug-2016 08:33:15.982 INFO
    [main] org.apache.catalina.startup.VersionLoggerListener.log Server
    built:          Jun 9 2016 13:55:50 UTC canerapp_1  | 31-Aug-2016
    08:33:15.982 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Server number:<br>
    8.0.36.0 canerapp_1  | 31-Aug-2016 08:33:15.982 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:<br>
    Linux canerapp_1  | 31-Aug-2016 08:33:15.982 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log OS Version:<br>
    4.4.0-34-generic canerapp_1  | 31-Aug-2016 08:33:15.982 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:<br>
    amd64 canerapp_1  | 31-Aug-2016 08:33:15.982 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Java Home:<br>
    /usr/lib/jvm/java-7-openjdk-amd64/jre canerapp_1  | 31-Aug-2016
    08:33:15.982 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log JVM Version:<br>
    1.7.0_111-b01 canerapp_1  | 31-Aug-2016 08:33:15.982 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:<br>
    Oracle Corporation canerapp_1  | 31-Aug-2016 08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:<br>
    /usr/local/tomcat canerapp_1  | 31-Aug-2016 08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:<br>
    /usr/local/tomcat canerapp_1  | 31-Aug-2016 08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument:
    -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
    canerapp_1  | 31-Aug-2016 08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument:
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager canerapp_1  | 31-Aug-2016 08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djdk.tls.ephemeralDHKeySize=2048 canerapp_1  | 31-Aug-2016
    08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed canerapp_1 
    | 31-Aug-2016 08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Dcatalina.base=/usr/local/tomcat canerapp_1  | 31-Aug-2016
    08:33:15.983 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Dcatalina.home=/usr/local/tomcat canerapp_1  | 31-Aug-2016
    08:33:15.984 INFO [main]
    org.apache.catalina.startup.VersionLoggerListener.log Command line
    argument: -Djava.io.tmpdir=/usr/local/tomcat/temp canerapp_1  |
    31-Aug-2016 08:33:15.984 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded
    APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.1.
    canerapp_1  | 31-Aug-2016 08:33:15.984 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
    capabilities: IPv6 [true], sendfile [true], accept filters [false],
    random [true]. canerapp_1  | 31-Aug-2016 08:33:15.987 INFO [main]
    org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
    successfully initialized (OpenSSL 1.0.2h  3 May 2016) canerapp_1  |
    31-Aug-2016 08:33:16.078 INFO [main]
    org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:33:16.093 INFO [main]
    org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
    ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016 08:33:16.096 INFO [main]
    org.apache.catalina.startup.Catalina.load Initialization processed in
    543 ms canerapp_1  | 31-Aug-2016 08:33:16.126 INFO [main]
    org.apache.catalina.core.StandardService.startInternal Starting
    service Catalina canerapp_1  | 31-Aug-2016 08:33:16.126 INFO [main]
    org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
    Engine: Apache Tomcat/8.0.36 canerapp_1  | 31-Aug-2016 08:33:16.141
    INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/ROOT canerapp_1  |
    31-Aug-2016 08:33:16.619 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/ROOT has finished
    in 477 ms canerapp_1  | 31-Aug-2016 08:33:16.619 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/manager canerapp_1  |
    31-Aug-2016 08:33:16.652 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/manager has
    finished in 33 ms canerapp_1  | 31-Aug-2016 08:33:16.652 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/docs canerapp_1  |
    31-Aug-2016 08:33:16.670 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/docs has finished
    in 18 ms canerapp_1  | 31-Aug-2016 08:33:16.670 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/host-manager
    canerapp_1  | 31-Aug-2016 08:33:16.691 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/host-manager has
    finished in 21 ms canerapp_1  | 31-Aug-2016 08:33:16.691 INFO
    [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
    application directory /usr/local/tomcat/webapps/examples canerapp_1  |
    31-Aug-2016 08:33:17.051 INFO [localhost-startStop-1]
    org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
    web application directory /usr/local/tomcat/webapps/examples has
    finished in 360 ms canerapp_1  | 31-Aug-2016 08:33:17.058 INFO [main]
    org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
    ["http-apr-8080"] canerapp_1  | 31-Aug-2016 08:33:17.065 INFO [main]
    org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
    ["ajp-apr-8009"] canerapp_1  | 31-Aug-2016 08:33:17.066 INFO [main]
    org.apache.catalina.startup.Catalina.start Server startup in 970 ms
    caner@vegan:~/IdeaProjects/homework$</p>
  </blockquote>
  
  <p>and i think usr,/localtomcat doesnot exist:</p>
  
  <blockquote>
    <p>aner@vegan:/usr$ ls bin  games  include  lib  local  locale  sbin 
    share  src caner@vegan:/usr$ cd l lib/    local/  locale/ 
    caner@vegan:/usr$ cd locale caner@vegan:/usr/locale$ ls da
    caner@vegan:/usr/locale$ cd caner@vegan:~$ cd /usr/local/ bin/<br>
    etc/     games/   include/ lib/     man/     sbin/    share/   src/<br>
    caner@vegan:~$ cd /usr/local/ caner@vegan:/usr/local$ ls etc/
    caner@vegan:/usr/local$ ls lib/ node_modules  python2.7  python3.5</p>
  </blockquote>
  
  <p>I cant see anythng in localhost.</p>