Skip to content

"docker stack rm" results in "page not found" #180

Closed

Description

@friism

I'm guessing this is related to #162

I'm using a master build which I think has the fix for #162

C:\Users\friism>docker version
Client:
 Version:      17.06.0-dev
 API version:  1.29 (downgraded from 1.30)
 Go version:   go1.8.3
 Git commit:   f82f61e
 Built:        Sun Jun 11 23:59:54 2017
 OS/Arch:      windows/amd64

Server:
 Version:      17.05.0-ce
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:10:54 2017
 OS/Arch:      linux/amd64
 Experimental: false
C:\code\atsea-sample-shop-app>docker service ls
ID                  NAME                       MODE                REPLICAS            IMAGE                             PORTS
9sr4ophfuwmm        atsea_reverse_proxy        replicated          0/1                 friism/reverse_proxy:latest
hwcgsqn3kio3        atsea_database             replicated          1/1                 friism/atsea_db:latest            *:5432->5432/tcp
ov06vkl99x6c        dockercloud-server-proxy   global              1/1                 dockercloud/server-proxy:latest   *:2376->2376/tcp
s45iwlnfbskp        atsea_payment_gateway      replicated          1/1                 friism/payment_gateway:latest
w8v9yf4aunyv        atsea_appserver            replicated          1/1                 friism/atsea_app:latest           *:5005->5005/tcp,*:8080->8080/tcp

C:\code\atsea-sample-shop-app>docker stack ls
NAME                SERVICES
atsea               4

C:\code\atsea-sample-shop-app>docker stack rm atsea
Error response from daemon: page not found

version: "3.1"

services:
  reverse_proxy:
    build: ./reverse_proxy
    image: friism/reverse_proxy

  database:
    build:
       context: ./database
    image: friism/atsea_db
    environment:
      POSTGRES_USER: gordonuser
      POSTGRES_DB_PASSWORD_FILE: /run/secrets/postgres_password
      POSTGRES_DB: atsea
    ports:
      - "5432:5432"
    networks:
      - back-tier
    secrets:
      - postgres_password

  appserver:
    build:
       context: app
       dockerfile: Dockerfile
    image: friism/atsea_app
    ports:
      - "8080:8080"
      - "5005:5005"
    networks:
      - front-tier
      - back-tier
    secrets:
      - postgres_password

  payment_gateway:
    build:
      context: payment_gateway
    image: friism/payment_gateway
    networks:
      - payment
    secrets:
      - payment_token

networks:
  front-tier:
  back-tier:
  payment:
    driver: overlay

secrets:
  postgres_password:
    file: ./devsecrets/postgres_password
  payment_token:
    file: ./devsecrets/payment_token

C:\code\atsea-sample-shop-app>

Activity

  1. friism commented on Jun 12, 2017

    @friism
    ContributorAuthor
  2. self-assigned this
    on Jun 12, 2017
  3. vdemeester commented on Jun 12, 2017

    @vdemeester
    Collaborator

    ah dang it 😭

  4. lindycoder commented on Jun 19, 2017

    @lindycoder

    I have rc4 and still have the problem with docker stack rm on mac os client with ubuntu host

    Client:
     Version:      17.06.0-ce-rc4
     API version:  1.29 (downgraded from 1.30)
     Go version:   go1.8.3
     Git commit:   29fcd5d
     Built:        Thu Jun 15 17:29:01 2017
     OS/Arch:      darwin/amd64
    
    Server:
     Version:      17.05.0-ce
     API version:  1.29 (minimum version 1.12)
     Go version:   go1.7.5
     Git commit:   89658be
     Built:        Thu May  4 22:06:06 2017
     OS/Arch:      linux/amd64
     Experimental: false
    
    Containers: 2
     Running: 2
     Paused: 0
     Stopped: 0
    Images: 1
    Server Version: 17.05.0-ce
    Storage Driver: aufs
     Root Dir: /var/lib/docker/aufs
     Backing Filesystem: extfs
     Dirs: 16
     Dirperm1 Supported: false
    Logging Driver: json-file
    Cgroup Driver: cgroupfs
    Plugins:
     Volume: local
     Network: bridge host macvlan null overlay
     Log:
    Swarm: active
     NodeID: ixg2co2wxx7wawtmqck6cqbvv
     Is Manager: true
     ClusterID: xecijd5atolahozwr6ei1pjgq
     Managers: 1
     Nodes: 1
     Orchestration:
      Task History Retention Limit: 5
     Raft:
      Snapshot Interval: 10000
      Number of Old Snapshots to Retain: 0
      Heartbeat Tick: 1
      Election Tick: 3
     Dispatcher:
      Heartbeat Period: 5 seconds
     CA Configuration:
      Expiry Duration: 3 months
      Force Rotate: 0
     Root Rotation In Progress: false
     Node Address: 172.27.53.236
     Manager Addresses:
      172.27.53.236:2377
    Runtimes: runc
    Default Runtime: runc
    Init Binary: docker-init
    containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
    runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
    init version: 949e6fa
    Security Options:
     apparmor
    Kernel Version: 3.13.0-24-generic
    Operating System: Ubuntu 14.04 LTS
    OSType: linux
    Architecture: x86_64
    CPUs: 1
    Total Memory: 1.955GiB
    Name: web1
    ID: GSOV:B7QP:5HFA:HWRI:A6DT:NBWW:ZN54:BOLB:JP3A:UEHC:OAYV:6RDI
    Docker Root Dir: /var/lib/docker
    Debug Mode (client): false
    Debug Mode (server): false
    Registry: https://index.docker.io/v1/
    Experimental: false
    Insecure Registries:
     127.0.0.0/8
    Live Restore Enabled: false
    
    WARNING: No swap limit support
    WARNING: No kernel memory limit support
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions