title: Creating docker secrets inside container
body: <p>My container needs to store the db credentials it receives via another service supplied by user. As the credentials will be supplied once by user, the container needs to persist these details so that it can restart and be able to make connections to db.</p>
  
  <p>Is there a way I can create the docker secret at runtime from inside the container and use them everytime my container restarts?</p>