Skip to content

Commit

Permalink
Debug IPFS/Compose failure
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <[email protected]>
  • Loading branch information
apostasie committed Aug 13, 2024
1 parent 2bc9dea commit 1b6ee66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 1 addition & 4 deletions cmd/nerdctl/ipfs_compose_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
func TestIPFSComposeUp(t *testing.T) {
testutil.DockerIncompatible(t)
base := testutil.NewBase(t)
base.Args = append([]string{"--debug-full"}, base.Args...)

iReg := testregistry.NewIPFSRegistry(base, nil, 0, nil, nil)
t.Cleanup(func() {
Expand Down Expand Up @@ -90,8 +91,6 @@ services:
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
# workaround for https://github.com/containerd/stargz-snapshotter/issues/444
- "/run"
- wordpress:/var/www/html
db:
Expand All @@ -103,8 +102,6 @@ services:
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
# workaround for https://github.com/containerd/stargz-snapshotter/issues/444
- "/run"
- db:/var/lib/mysql
volumes:
Expand Down
6 changes: 0 additions & 6 deletions examples/compose-wordpress/docker-compose.stargz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,12 @@
services:
wordpress:
image: ghcr.io/stargz-containers/wordpress:5.7-esgz
volumes:
# workaround for https://github.com/containerd/stargz-snapshotter/issues/444
- "/run"
extends:
file: docker-compose.yaml
service: wordpress

db:
image: ghcr.io/stargz-containers/mariadb:10.5-esgz
volumes:
# workaround for https://github.com/containerd/stargz-snapshotter/issues/444
- "/run"
extends:
file: docker-compose.yaml
service: db
Expand Down

0 comments on commit 1b6ee66

Please sign in to comment.