Skip to content

Instantly share code, notes, and snippets.

@ilyapoz
Created March 30, 2018 14:45
Show Gist options
  • Save ilyapoz/a9984e870d01f561f928f20c6907b0a2 to your computer and use it in GitHub Desktop.
Save ilyapoz/a9984e870d01f561f928f20c6907b0a2 to your computer and use it in GitHub Desktop.
trace off dokku logs
remote: -----> Cleaning up...
remote: -----> Building cache-test from dockerfile...
remote: -----> Setting config vars
remote:  DOKKU_DOCKERFILE_PORTS: 80
remote: -----> Setting config vars
remote:  DOKKU_DOCKERFILE_CMD: CMD ["/bin/ash", "-c", "sleep 12000000"]
remote: Sending build context to Docker daemon 2.048kB
remote:
remote:
remote: Step 1/8 : FROM alpine AS builder
remote:  ---> 3fd9065eaf02
remote: Step 2/8 : WORKDIR /app
remote:  ---> 39b3ded736cf
remote: Removing intermediate container 8ef2a674bc3d
remote: Step 3/8 : RUN echo "He" > ./some_file.txt
remote:  ---> Running in 6910a2eb9ef5
remote:  ---> cab27a77bb19
remote: Removing intermediate container 6910a2eb9ef5
remote: Step 4/8 : FROM alpine
remote:  ---> 3fd9065eaf02
remote: Step 5/8 : WORKDIR /app
remote:  ---> Using cache
remote:  ---> 39b3ded736cf
remote: Step 6/8 : COPY --from=builder /app/some_file.txt ./some_file.txt
remote:  ---> 127043db7990
remote: Removing intermediate container 4be3bf238ff5
remote: Step 7/8 : CMD /bin/ash -c sleep 12000000
remote:  ---> Running in a3b8a0f1bb7f
remote:  ---> 4cedc7e6d2f9
remote: Removing intermediate container a3b8a0f1bb7f
remote: Step 8/8 : EXPOSE 80
remote:  ---> Running in 1c4d0a9a77f9
remote:  ---> 6d8dd42a298d
remote: Removing intermediate container 1c4d0a9a77f9
remote: Successfully built 6d8dd42a298d
remote: Successfully tagged dokku/cache-test:latest
remote: -----> Releasing cache-test (dokku/cache-test:latest)...
remote: -----> Deploying cache-test (dokku/cache-test:latest)...
remote: -----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
remote: -----> No Procfile found in app image
remote: -----> DOKKU_SCALE file not found in app image. Generating one based on Procfile...
remote: -----> New DOKKU_SCALE file generated
remote: =====> web=1
remote: -----> Attempting pre-flight checks
remote:  For more efficient zero downtime deployments, create a file CHECKS.
remote:  See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples
remote:  CHECKS file not found in container: Running simple container check...
remote: -----> Waiting for 10 seconds ...
remote: -----> Default container check successful!
remote: -----> Running post-deploy
remote: =====> renaming container (cf5cfdbb71f6) modest_saha to cache-test.web.1
remote: -----> Creating new /home/dokku/cache-test/VHOST...
remote: -----> Setting config vars
remote:  DOKKU_PROXY_PORT_MAP: http:80:80
remote: -----> Configuring cache-test.dev.skycenter.aero...(using built-in template)
remote: -----> Creating http nginx.conf
remote: -----> Running nginx-pre-reload
remote:  Reloading nginx
remote: -----> Setting config vars
remote:  DOKKU_APP_RESTORE: 1
remote: -----> Attempting to run scripts.dokku.postdeploy from app.json (if defined)
remote: =====> Application deployed:
remote:  http://cache-test.dev.skycenter.aero
remote: 
To dev.skycenter.aero:cache-test
* [new branch] master -> master
Branch master set up to track remote branch master from dokku.
remote: -----> Cleaning up...
remote: -----> Building cache-test from dockerfile...
remote: -----> Setting config vars
remote:  DOKKU_DOCKERFILE_PORTS: 80
remote: -----> Setting config vars
remote:  DOKKU_DOCKERFILE_CMD: CMD ["/bin/ash", "-c", "sleep 12000000"]
remote: Sending build context to Docker daemon 2.56kB
remote:
remote:
remote: Step 1/8 : FROM alpine AS builder
remote:  ---> 3fd9065eaf02
remote: Step 2/8 : WORKDIR /app
remote:  ---> Using cache
remote:  ---> 39b3ded736cf
remote: Step 3/8 : RUN echo "He" > ./some_file.txt
remote:  ---> Running in ce528d4e3190
remote:  ---> e36071e0b49e
remote: Removing intermediate container ce528d4e3190
remote: Step 4/8 : FROM alpine
remote:  ---> 3fd9065eaf02
remote: Step 5/8 : WORKDIR /app
remote:  ---> Using cache
remote:  ---> 39b3ded736cf
remote: Step 6/8 : COPY --from=builder /app/some_file.txt ./some_file.txt
remote:  ---> Using cache
remote:  ---> 127043db7990
remote: Step 7/8 : CMD /bin/ash -c sleep 12000000
remote:  ---> Using cache
remote:  ---> 4cedc7e6d2f9
remote: Step 8/8 : EXPOSE 80
remote:  ---> Using cache
remote:  ---> 6d8dd42a298d
remote: Successfully built 6d8dd42a298d
remote: Successfully tagged dokku/cache-test:latest
remote: -----> Releasing cache-test (dokku/cache-test:latest)...
remote: -----> Deploying cache-test (dokku/cache-test:latest)...
remote: -----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
remote: -----> No Procfile found in app image
remote: -----> DOKKU_SCALE file found (/home/dokku/cache-test/DOKKU_SCALE)
remote: =====> web=1
remote: -----> Attempting pre-flight checks
remote:  For more efficient zero downtime deployments, create a file CHECKS.
remote:  See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples
remote:  CHECKS file not found in container: Running simple container check...
remote: -----> Waiting for 10 seconds ...
remote: -----> Default container check successful!
remote: -----> Running post-deploy
remote: -----> Found previous container(s) (cf5cfdbb71f6) named cache-test.web.1
remote: =====> renaming container (cf5cfdbb71f6) cache-test.web.1 to cache-test.web.1.1522421094
remote: =====> renaming container (05f3bdc27b80) naughty_nobel to cache-test.web.1
remote: -----> Configuring cache-test.dev.skycenter.aero...(using built-in template)
remote: -----> Creating http nginx.conf
remote: -----> Running nginx-pre-reload
remote:  Reloading nginx
remote: -----> Setting config vars
remote:  DOKKU_APP_RESTORE: 1
remote: -----> Attempting to run scripts.dokku.postdeploy from app.json (if defined)
remote: -----> Shutting down old containers in 60 seconds
remote: =====> cf5cfdbb71f64d078a1f88acf9b2896c30f6d73cbed0d90db2524d93e7500708
remote: =====> Application deployed:
remote:  http://cache-test.dev.skycenter.aero
remote: 
To dev.skycenter.aero:cache-test
76f7025..d5d6af3 master -> master
Branch master set up to track remote branch master from dokku.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment