Git Product home page Git Product logo

Comments (4)

Berserkir-Wolf avatar Berserkir-Wolf commented on May 28, 2024

Ah, right - if you do this with a named volume (- 'kapowarr-db:/app/db') then it has to exist prior to starting the container.
To make it in portainer:

  • Open Volumes
  • Click Add Volume
  • Enter name matching the one you'll use in compose (kapowarr-db)
  • Click Create the volume
  • Open Stacks
  • Create the stack with the named volume in it.

from kapowarr.

Berserkir-Wolf avatar Berserkir-Wolf commented on May 28, 2024

Added this to docs for future enquiries, in PR #49

from kapowarr.

mareczek82 avatar mareczek82 commented on May 28, 2024

It didnt help.
I followed those steps, made volume but I still have same problem

from kapowarr.

Berserkir-Wolf avatar Berserkir-Wolf commented on May 28, 2024

If you look at the volumes page in portainer after creating the volume, can you see the new one there?
I've seen portainer throw errors when the UI for it is cached in your browser (like the site knew the volume didn't exist, so it won't even check with the docker engine to see if that's changed). Pressing ctrl + f5 should clear your browser cache and reload it fresh.

Once that's cleared, confirm the volume still exists (create it if it doesn't), then go to stacks and create it fresh. Don't do it across multiple tabs, the cache will start to pollute between them.

from kapowarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.