diff --git a/contrib/logging/fluentd-es-image/Dockerfile b/contrib/logging/fluentd-es-image/Dockerfile index ff6b9a1e344..dc649a7c839 100644 --- a/contrib/logging/fluentd-es-image/Dockerfile +++ b/contrib/logging/fluentd-es-image/Dockerfile @@ -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 diff --git a/contrib/logging/fluentd-es-image/build.sh b/contrib/logging/fluentd-es-image/build.sh index 6810cba13bd..5ada3b7feda 100755 --- a/contrib/logging/fluentd-es-image/build.sh +++ b/contrib/logging/fluentd-es-image/build.sh @@ -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 \ No newline at end of file + +# Build the fluentd-elasticsearch image and push +# to google/fluentd-elasticsearch. + +sudo docker build -t google/fluentd-elasticsearch . +sudo docker push google/fluentd-elasticsearch