Kong Api's and Plugins are getting removed after kong docker container start and stop

I am trying with Kong. Iam running this on AWS. Whenever I stop the server and start it every entry in the APIs and Plugins will go. so after each and evry start and stop I have to re-add the values for api and plugins. Can any one tell me how can I retain the data ?

docker run -d –name kong-database -p 9042:9042 cassandra:2.2 then I ran the image for kong
docker run -d –name kong –link kong-database:kong-database
-e KONG_DATABASE=cassandra” -e “KONG_CASSANDRA_CONTACT_POINTS=kong-database”
-e “KONG_PG_HOST=kong-database” -p 8000:8000 -p 8443:8443 -p 8001:8001
-p 7946:7946 -p 7946:7946/udp kong

  • Can I extend docker-compose files?
  • Bridged network connection in Dockerfile
  • Run normal Win32 applications in Docker for Windows
  • docker image running a mac osx installation
  • nginx error 403 - directory index is forbidden
  • Docker error connecting to host mysql
  • please help me on this.

  • Linux machine with docker deploy windows container
  • Docker Clustering multiple proxies fronting multiple tomcats
  • Run nginx in docker with custom vhost
  • “Service cron status” command does not give back the status of cron in the ubuntu docker container
  • Failed to send join request to master?
  • haproxy not routing to service
  • One Solution collect form web for “Kong Api's and Plugins are getting removed after kong docker container start and stop”

    I found one solution. the steps which I did
    1. take the snapshot of the cassandra keyspace using nodetool.
    2. copy the snapshot of the tables which you want to restore
    3. copy the snapshot to the tables of destination server
    4. refresh the tables using nodetool
    5. refresh the kong url , you can see the data updated there.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.