{"id":51981,"date":"2017-04-10T00:00:00","date_gmt":"2017-04-10T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/blog\/running-griddb-in-docker\/"},"modified":"2017-04-10T00:00:00","modified_gmt":"2017-04-10T07:00:00","slug":"running-griddb-in-docker","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/en\/blog\/running-griddb-in-docker\/","title":{"rendered":"Running GridDB in Docker"},"content":{"rendered":"<p>Containers have been a hot topic in recent years and they&#8217;re a surprisingly easy method of starting out with any new software: GridDB is no exception. With just a few easy steps you&#8217;re able to deploy a GridDB Container in Docker to test and develop code. The basic process is:<\/p>\n<ol>\n<li>\n<p>Download Docker and Other Prerequisites.<\/p>\n<\/li>\n<li>\n<p>Build a Docker Image.<\/p>\n<\/li>\n<li>\n<p>Run the Container<\/p>\n<\/li>\n<li>\n<p>Build and Run Sample Code<\/p>\n<\/li>\n<\/ol>\n<p>This post is not meant to be all encompassing, just a quick howto on running the GridDB server in Docker so that a developer could try some basic code. There are many other considerations if you wanted to put GridDB and Docker into a production environment with external access.<\/p>\n<h2>Download Docker and Prerequisites<\/h2>\n<ol>\n<li>\n<p>Download and install Docker from <a href=\"https:\/\/www.docker.com\/get-docker\">https:\/\/www.docker.com\/get-docker<\/a>\u00a0for your preferred platform. For this article, we used Docker on MacOSX.<\/p>\n<\/li>\n<li>\n<p>Download Oracle JDK (the Linux x64 RPM pacakge) from:\u00a0<a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/a><\/p>\n<\/li>\n<li>\n<p>Using Docker, download the CentOS Base Image. 6.7, 6.8, or 6.9 will work.<\/p>\n<\/li>\n<\/ol>\n<pre>$ docker pull centos:6.8\n6.8: Pulling from library\/centos\n67f15db7c18f: Pull complete\nDigest: sha256:37ee2dcd9a3a430136b566efb4aa1111ed332bfdef8b0de51a25d26891689fd7\nStatus: Downloaded newer image for centos:6.8\n<\/pre>\n<h2>Build A Docker Image<\/h2>\n<p>First create an empty directory to store the files necessary to create a Docker image. 1. Place the Java JDK you previously downloaded in this directory. 2. Create a file named griddb.sh that will be used by the Dockerfile with the following content:<\/p>\n<pre>#!\/bin\/bash\nexport GS_HOME=\/var\/lib\/gridstore\/\nexport GS_LOG=\/var\/lib\/gridstore\/log\n<\/pre>\n<ol>\n<li>Create the a file named &#8220;Dockerfile&#8221; with the following content: <\/li>\n<\/ol>\n<pre>FROM centos:6.8\n\nRUN set -x &&\nHOST=`hostname` && \nsed -i \"s\/^(HOSTNAME=).*\/1$HOST\/\" \/etc\/sysconfig\/network && \nrpm -Uvh https:\/\/github.com\/griddb\/griddb_nosql\/releases\/download\/v3.0.0\/griddb_nosql-3.0.0-1.linux.x86_64.rpm\n\nRUN set -x &&\nsu - gsadm -c \"gs_passwd admin -p admin\"\n\nRUN set -x && \nsed -i -e s\/\"clusterName\":\"\"\/\"clusterName\":\"dockerGridDB\"\/g \n-e s\/\"replicationNum\":2\/\"replicationNum\":1\/g \/var\/lib\/gridstore\/conf\/gs_cluster.json\n\nADD jdk-8u121-linux-x64.rpm \/tmp\n\nRUN set -x && \nrpm -Uvh \/tmp\/jdk-8u121-linux-x64.rpm\n\nCMD su - gsadm -c \n\"gs_startnode -u admin\/admin -w 0 && gs_joincluster -c dockerGridDB -n 1 -u admin\/admin\" &&\ntail -f \/dev\/null\n<\/pre>\n<p>Now after you&#8217;ve created the Dockerfile you can create the image with the following command:<\/p>\n<pre>$ docker build -t docker-griddb .\nStep 1\/7 : FROM centos:6.8\n ---&gt; ab44245321a8\nStep 2\/7 : RUN set -x &&    HOST=`hostname` &&  sed -i \"s\/^(HOSTNAME=).*\/1$HOST\/\" \/etc\/sysconfig\/network &&  rpm -Uvh https:\/\/github.com\/griddb\/griddb_nosql\/releases\/download\/v3.0.0\/griddb_nosql-3.0.0-1.linux.x86_64.rpm\n ---&gt; Running in b723cc52a3a6\n++ hostname\n+ HOST=0de5ce56403a\n+ sed -i 's\/^(HOSTNAME=).*\/10de5ce56403a\/' \/etc\/sysconfig\/network\n+ rpm -Uvh https:\/\/github.com\/griddb\/griddb_nosql\/releases\/download\/v3.0.0\/griddb_nosql-3.0.0-1.linux.x86_64.rpm\nRetrieving https:\/\/github.com\/griddb\/griddb_nosql\/releases\/download\/v3.0.0\/griddb_nosql-3.0.0-1.linux.x86_64.rpm\nPreparing...                ##################################################\n\n------------------------------------------------------------\nInformation:\n  User gsadm and group gridstore have been registered.\n  GridDB uses new user and group.\n------------------------------------------------------------\n\ngriddb_nosql                ##################################################\n ---&gt; e742811e19c1\nRemoving intermediate container b723cc52a3a6\nStep 3\/7 : RUN set -x &&    su - gsadm -c \"gs_passwd admin -p admin\"\n ---&gt; Running in bb1e0fff55d6\n+ su - gsadm -c 'gs_passwd admin -p admin'\n ---&gt; 13efc76ae454\nRemoving intermediate container bb1e0fff55d6\nStep 4\/7 : RUN set -x &&    sed -i -e s\/\"clusterName\":\"\"\/\"clusterName\":\"dockerGridDB\"\/g         -e s\/\"replicationNum\":2\/\"replicationNum\":1\/g \/var\/lib\/gridstore\/conf\/gs_cluster.json\n ---&gt; Running in 7f0e0d4dd443\n+ sed -i -e 's\/\"clusterName\":\"\"\/\"clusterName\":\"dockerGridDB\"\/g' -e 's\/\"replicationNum\":2\/\"replicationNum\":1\/g' \/var\/lib\/gridstore\/conf\/gs_cluster.json\n ---&gt; 9fc93177a6d6\nRemoving intermediate container 7f0e0d4dd443\nStep 5\/9 : ADD griddb.sh \/etc\/profile.d\/\n ---&gt; 2950c8327419\nRemoving intermediate container 520da00ea008\nStep 6\/9 : RUN set -x &&    chmod +x \/etc\/profile.d\/griddb.sh\n ---&gt; Running in 1882151bf8f8\n+ chmod +x \/etc\/profile.d\/griddb.sh\n ---&gt; 610c1a75042d\nRemoving intermediate container 1882151bf8f8\nStep 7\/7 : ADD jdk-8u121-linux-x64.rpm \/tmp\n ---&gt; 82e290734a6d\nRemoving intermediate container 438a4b84f818\nStep 8\/9 : RUN set -x &&    rpm -Uvh \/tmp\/jdk-8u121-linux-x64.rpm\n ---&gt; Running in 73335ba1f265\n+ rpm -Uvh \/tmp\/jdk-8u121-linux-x64.rpm\nPreparing...                ##################################################\njdk1.8.0_121                ##################################################\nUnpacking JAR files...\n    tools.jar...\n    plugin.jar...\n    javaws.jar...\n    deploy.jar...\n    rt.jar...\n    jsse.jar...\n    charsets.jar...\n    localedata.jar...\n ---&gt; 831d58936710\nRemoving intermediate container 73335ba1f265\nStep 9\/9 : CMD su - gsadm -c    \"gs_startnode -u admin\/admin -w 0 && gs_joincluster -c dockerGridDB -n 1 -u admin\/admin\" && tail -f \/dev\/null\n ---&gt; Running in 5143de19c598\n ---&gt; 944a0436f719\nRemoving intermediate container 5143de19c598\nSuccessfully built 944a0436f719\n<\/pre>\n<h2>Run<\/h2>\n<pre>$ docker run docker-griddb\n..\nStarted node.\n<\/pre>\n<p>You can see your container running in with Docker ps:<\/p>\n<pre>$ docker ps\nCONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES\nf10c6cb4a3af        griddb-docker       \"\/bin\/sh -c 'su - ...\"   39 seconds ago      Up 38 seconds                           jovial_morse\n<\/pre>\n<p>The container ID is important as we&#8217;ll use it as the argument other docker commands such as exec as demonstrated below to see gs_stat information.<\/p>\n<pre>$ docker exec f10c su - gsadm  -c \"gs_stat -u admin\/admin\"\n{\n    \"checkpoint\": {\n        \"endTime\": 1491496340738,\n        \"mode\": \"RECOVERY_CHECKPOINT\",\n        \"normalCheckpointOperation\": 0,\n        \"pendingPartition\": 0,\n        \"requestedCheckpointOperation\": 0,\n        \"startTime\": 1491496340586\n    },\n    \"cluster\": {\n        \"activeCount\": 1,\n        \"clusterName\": \"dockerGridDB\",\n        \"clusterStatus\": \"MASTER\",\n        \"designatedCount\": 1,\n        \"loadBalancer\": \"ACTIVE\",\n        \"master\": {\n            \"address\": \"172.17.0.2\",\n            \"port\": 10040\n        },\n        \"nodeList\": [\n            {\n                \"address\": \"172.17.0.2\",\n                \"port\": 10040\n            }\n        ],\n        \"nodeStatus\": \"ACTIVE\",\n        \"notificationMode\": \"MULTICAST\",\n        \"partitionStatus\": \"NORMAL\",\n        \"startupTime\": \"2017-04-06T16:32:18Z\",\n        \"syncCount\": 2\n    },\n    \"currentTime\": \"2017-04-06T16:47:00Z\",\n    \"performance\": {\n        \"batchFree\": 0,\n        \"checkpointFileAllocateSize\": 65536,\n        \"checkpointFileSize\": 65536,\n        \"checkpointFileUsageRate\": 0,\n        \"checkpointMemory\": 0,\n        \"checkpointMemoryLimit\": 1073741824,\n        \"checkpointWriteSize\": 0,\n        \"checkpointWriteTime\": 0,\n        \"currentCheckpointWriteBufferSize\": 0,\n        \"currentTime\": 1491497220407,\n        \"numConnection\": 2,\n        \"numSession\": 0,\n        \"numTxn\": 0,\n        \"peakProcessMemory\": 312152064,\n        \"processMemory\": 312152064,\n        \"recoveryReadSize\": 65536,\n        \"recoveryReadTime\": 0,\n        \"storeCompressionMode\": \"NO_BLOCK_COMPRESSION\",\n        \"storeDetail\": {\n            \"batchFreeMapData\": {\n                \"storeMemory\": 0,\n                \"storeUse\": 0,\n                \"swapRead\": 0,\n                \"swapWrite\": 0\n            },\n            \"batchFreeRowData\": {\n                \"storeMemory\": 0,\n                \"storeUse\": 0,\n                \"swapRead\": 0,\n                \"swapWrite\": 0\n            },\n            \"mapData\": {\n                \"storeMemory\": 0,\n                \"storeUse\": 0,\n                \"swapRead\": 0,\n                \"swapWrite\": 0\n            },\n            \"metaData\": {\n                \"storeMemory\": 0,\n                \"storeUse\": 0,\n                \"swapRead\": 0,\n                \"swapWrite\": 0\n            },\n            \"rowData\": {\n                \"storeMemory\": 0,\n                \"storeUse\": 0,\n                \"swapRead\": 0,\n                \"swapWrite\": 0\n            }\n        },\n        \"storeMemory\": 0,\n        \"storeMemoryLimit\": 1073741824,\n        \"storeTotalUse\": 0,\n        \"swapRead\": 0,\n        \"swapReadSize\": 0,\n        \"swapReadTime\": 0,\n        \"swapWrite\": 0,\n        \"swapWriteSize\": 0,\n        \"swapWriteTime\": 0,\n        \"syncReadSize\": 0,\n        \"syncReadTime\": 0,\n        \"totalLockConflictCount\": 0,\n        \"totalReadOperation\": 0,\n        \"totalRowRead\": 0,\n        \"totalRowWrite\": 0,\n        \"totalWriteOperation\": 0\n    },\n    \"recovery\": {\n        \"progressRate\": 1\n    },\n    \"version\": \"3.0.0-27877 CE\"\n}\n<\/pre>\n<h3>Build and Run Sample Code<\/h3>\n<p>There are several ways you could build GridDB source code, such as with Eclipse as demonstrated in the the <a href=\"https:\/\/griddb.net\/en\/docs\/documents\/5-1-4_prepare-client.php\">Documentation<\/a>, but for this simple case we&#8217;ll use the JDK within the container to build a Sample app. Start up a shell in your container with:<\/p>\n<pre>$ docker exec -it f10c bash<\/pre>\n<p>Then run the following commands:<\/p>\n<pre># export CLASSPATH=\/usr\/share\/java\/gridstore.jar:$CLASSPATH\n# mkdir gsSample\n# cp \/usr\/griddb-3.0.0\/docs\/sample\/program\/Sample1.java gsSample\/\n# javac gsSample\/Sample1.java\n# java gsSample\/Sample1 239.0.0.1 31999 dockerGridDB admin admin\nname=name02 status=false count=2 lob=[65, 66, 67, 68, 69, 70, 71, 72, 73, 74]\n<\/pre>\n<p>Congratulations, your container is able to execute the GridDB Sample. If you want to copy a file from your host to the container, that is easily done using:<\/p>\n<pre>$ docker cp sourceFile containerId:destinationPath<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Containers have been a hot topic in recent years and they&#8217;re a surprisingly easy method of starting out with any new software: GridDB is no exception. With just a few easy steps you&#8217;re able to deploy a GridDB Container in Docker to test and develop code. The basic process is: Download Docker and Other Prerequisites. [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":51982,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[121],"tags":[],"class_list":["post-51981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Running GridDB in Docker | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"Containers have been a hot topic in recent years and they&#039;re a surprisingly easy method of starting out with any new software: GridDB is no exception.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running GridDB in Docker | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"Containers have been a hot topic in recent years and they&#039;re a surprisingly easy method of starting out with any new software: GridDB is no exception.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-10T07:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2025\/12\/blog_title_08.png\" \/>\n\t<meta property=\"og:image:width\" content=\"870\" \/>\n\t<meta property=\"og:image:height\" content=\"490\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Owen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Owen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\"},\"author\":{\"name\":\"Owen\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66\"},\"headline\":\"Running GridDB in Docker\",\"datePublished\":\"2017-04-10T07:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\"},\"wordCount\":372,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2025\/12\/blog_title_08.png\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\",\"url\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\",\"name\":\"Running GridDB in Docker | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2025\/12\/blog_title_08.png\",\"datePublished\":\"2017-04-10T07:00:00+00:00\",\"description\":\"Containers have been a hot topic in recent years and they're a surprisingly easy method of starting out with any new software: GridDB is no exception.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2025\/12\/blog_title_08.png\",\"contentUrl\":\"\/wp-content\/uploads\/2025\/12\/blog_title_08.png\",\"width\":870,\"height\":490},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66\",\"name\":\"Owen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g\",\"caption\":\"Owen\"},\"url\":\"https:\/\/www.griddb.net\/en\/author\/owen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Running GridDB in Docker | GridDB: Open Source Time Series Database for IoT","description":"Containers have been a hot topic in recent years and they're a surprisingly easy method of starting out with any new software: GridDB is no exception.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/","og_locale":"en_US","og_type":"article","og_title":"Running GridDB in Docker | GridDB: Open Source Time Series Database for IoT","og_description":"Containers have been a hot topic in recent years and they're a surprisingly easy method of starting out with any new software: GridDB is no exception.","og_url":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2017-04-10T07:00:00+00:00","og_image":[{"width":870,"height":490,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2025\/12\/blog_title_08.png","type":"image\/png"}],"author":"Owen","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"Written by":"Owen","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/"},"author":{"name":"Owen","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66"},"headline":"Running GridDB in Docker","datePublished":"2017-04-10T07:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/"},"wordCount":372,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/12\/blog_title_08.png","articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/","url":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/","name":"Running GridDB in Docker | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/12\/blog_title_08.png","datePublished":"2017-04-10T07:00:00+00:00","description":"Containers have been a hot topic in recent years and they're a surprisingly easy method of starting out with any new software: GridDB is no exception.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb.net\/en\/blog\/running-griddb-in-docker\/#primaryimage","url":"\/wp-content\/uploads\/2025\/12\/blog_title_08.png","contentUrl":"\/wp-content\/uploads\/2025\/12\/blog_title_08.png","width":870,"height":490},{"@type":"WebSite","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66","name":"Owen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g","caption":"Owen"},"url":"https:\/\/www.griddb.net\/en\/author\/owen\/"}]}},"_links":{"self":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/51981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/comments?post=51981"}],"version-history":[{"count":0,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/51981\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/media\/51982"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/media?parent=51981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/categories?post=51981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/tags?post=51981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}