containers-a8 / docker-base-image-one-step Goto Github PK
View Code? Open in Web Editor NEWSample application from customer
Sample application from customer
Checking the status and extracting the PID using the following command worked locally of
pid=$(ps x | grep "${TOMCAT_PATH}" | grep -v grep |cut -d ' ' -f 1)
However it returned blanks when executed in a container.
Switched the checking to use pgrep. Tried both the variants
pid= $(pgrep -f tomcat/bin/bootstrap)
pid= $(/usr/bin/pgrep -f tomcat/bin/bootstrap)
Both resulted in command not found
To check the behaviour, i logged into the container and executed the commands and made the following observation(s):
Using the RHEL image requires active subscription.
Error messages that were encountered
Error getting repository data for rhel-server-rpms, repository not found
Everytime the pipeline gets executed this message shows up
2016-11-24 23:09:35 UTC : LOGMET setup failed with return code 2
Need to figure out what's happening here?
The behaviour of monitoring and logging is inconsistent (i.e the logs only show up sometimes). We haven't identified a pattern as to when it works and when it doesn't.
The wrapper script - catalina_wrapper.sh invokes the register function on a container startup. However if the container is restarted this function is not invoked
The deregister function is not invoked in the following scenarios:
When the service image is built on top of the base image, the container fails on start up with the error message:
Manglu-mbp/Downloads:$cf ic logs 806f3ed9-d73
'open /root/Procfile: permission denied
'open /root/Procfile: permission denied
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.