Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmpfs mounts not full describe in portainer #1181

Closed
rnz opened this issue Sep 7, 2017 · 3 comments
Closed

tmpfs mounts not full describe in portainer #1181

rnz opened this issue Sep 7, 2017 · 3 comments
Labels
area/service-details kind/enhancement Applied to Feature Requests

Comments

@rnz
Copy link

rnz commented Sep 7, 2017

Description
tmpfs mounts not full describe in portainer
and can't create mounts from portainer by tmpfs

image

Steps to reproduce the issue:

  1. create container with tmpfs mounts
    docker service create
    --name testservice
    --mount type=bind,source=/data/service/s0001/db,target=/var/lib/postgresql
    --mount type=tmpfs,target=/tmp
    --mount type=tmpfs,target=/var/tmp
    --mount type=tmpfs,target=/var/run
    --mount type=tmpfs,target=/run
    --network nginx-network
    --mode replicated
    --replicas 1
    docker-repo/testimage

  2. go to service details, look at mounts - tmpfs mounts not fully visualisable

Technical details:

  • Portainer version: 1.14.0
  • Target Docker version: 17.04.0-ce
  • Platform: Debian GNU/Linux 9.0 (stretch)
  • Command used to start Portainer:
docker service create \
    --name portainer \
    --publish 9000:9000 \
    --constraint 'node.role == manager' \
    --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
    --mount type=bind,src=/data/portainer,dst=/data \
    portainer/portainer \
    -H unix:///var/run/docker.sock
  • Target Swarm version (if applicable): 17.04.0-ce
  • Browser: Any
@deviantony
Copy link
Member

@G07cha Have a look at the TaskTemplate.ContainerSpec.Mounts field in the ServiceCreate operation: https://docs.docker.com/engine/api/v1.30/#operation/ServiceCreate

@G07cha
Copy link
Contributor

G07cha commented Oct 15, 2017

@deviantony, yeah, I've deleted my previous comment because I've also found that it's possible to do through ContainerCreate.HostConfig.Mounts, so I'll be looking into that.

@rhalff
Copy link

rhalff commented Jul 12, 2018

Not sure if totally relevant to this issue, but I needed a tmpfs mount to link within portainer and have used the example from the docker site:

docker volume create --driver local \
    --opt type=tmpfs \
    --opt device=tmpfs \
    --opt o=size=100m,uid=1000 \
    foo

It's then selectable just as any volume.

@portainer portainer locked and limited conversation to collaborators Jul 27, 2023
@jamescarppe jamescarppe converted this issue into discussion #9357 Jul 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
area/service-details kind/enhancement Applied to Feature Requests
Projects
None yet
Development

No branches or pull requests

4 participants