Dockerfile and build script for fluentd-elasticsearch image

This commit is contained in:
Satnam Singh 2014-10-13 18:27:39 +00:00
parent 178a901db7
commit 303da8b036
2 changed files with 8 additions and 5 deletions

View File

@ -1,9 +1,8 @@
# This Dockerfile will build an image that is configured
# to run Fluentd with an Elasticsearch plug-in and the
# provided configuration file.
# TODO(satnam): Use a lighter base image, e.g. some form of busybox.
# The image acts as an executable for the binary /usr/sbin/td-agent
# which runs fluentd with the default flag -v (which can be over-ridden).
# TODO(satnam6502): Use a lighter base image, e.g. some form of busybox.
# The image acts as an executable for the binary /usr/sbin/td-agent.
# Note that fluentd is run with root permssion to allow access to
# log files with root only access under /var/lib/docker/containers/*
# Please see http://docs.fluentd.org/articles/install-by-deb for more

View File

@ -14,5 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
docker build -t google/fluentd-elasticsearch .
docker push google/lambda-fluentd
# Build the fluentd-elasticsearch image and push
# to google/fluentd-elasticsearch.
sudo docker build -t google/fluentd-elasticsearch .
sudo docker push google/fluentd-elasticsearch