Skip to content

Instantly share code, notes, and snippets.

@ptmkenny
Created December 12, 2022 20:58
Show Gist options
  • Save ptmkenny/c7c640ae1000cb75a3c63fd6c31e7b32 to your computer and use it in GitHub Desktop.
Save ptmkenny/c7c640ae1000cb75a3c63fd6c31e7b32 to your computer and use it in GitHub Desktop.
ddev debug test MBP M1Pro 2022-12-13
ddev debug test
Running bash [-c /var/folders/n_/4z8jyx457vx4sy3xm7080rs00000gq/T/test_ddev.sh]
OS Information: Darwin 16.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64
ProductName: macOS
ProductVersion: 13.0.1
BuildVersion: 22A400
User information: uid=503(private) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae),703(com.apple.sharepoint.group.3),702(com.apple.sharepoint.group.2)
DDEV version: ITEM VALUE
DDEV version v1.21.3
architecture arm64
db drud/ddev-dbserver-mariadb-10.4:v1.21.3
dba phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.21.3
docker 20.10.18
docker-compose v2.10.2
docker-platform colima
mutagen 0.16.0
os darwin
router drud/ddev-router:v1.21.3
web drud/ddev-webserver:v1.21.3
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=false
omit-containers=[]
mutagen-enabled=false
nfs-mount-enabled=false
router-bind-all-interfaces=false
internet-detection-timeout-ms=3000
disable-http2=false
use-letsencrypt=false
letsencrypt-email=
table-style=default
simple-formatting=false
auto-restart-containers=false
use-hardened-images=false
fail-on-hook-fail=false
required-docker-compose-version=
use-docker-compose-from-path=false
no-bind-mounts=false
project-tld=
======= DOCKER info =========
docker location: lrwxr-xr-x@ 1 private admin 36 Dec 12 07:13 /opt/homebrew/bin/docker -> ../Cellar/docker/20.10.21/bin/docker
Docker Desktop Version: Print: Entry, ":CFBundleShortVersionString", Does Not Exist
Print: Entry, ":CFBundleVersion", Does Not Exist
Docker Desktop for Mac File build Doesn'tDocker Desktop for Mac Exist, build WillDocker Desktop for Mac Create: build /Applications/Docker.app/Contents/Info.plistDocker Desktop for Mac File build Doesn'tDocker Desktop for Mac Exist, build WillDocker Desktop for Mac Create: build /Applications/Docker.app/Contents/Info.plist
docker version:
Client: Docker Engine - Community
Version: 20.10.21
API version: 1.41
Go version: go1.19.3
Git commit: baeda1f82a
Built: Tue Oct 25 17:53:02 2022
OS/Arch: darwin/arm64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.18
API version: 1.41 (minimum version 1.12)
Go version: go1.18.6
Git commit: e42327a6d3c55ceda3bd5475be7aae6036d02db3
Built: Sun Sep 11 07:10:00 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: 5fd4c4d144137e991c4acebb2146ab1483a97925
docker-init:
Version: 0.19.0
GitCommit:
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
======= Docker Info =========
Docker platform: colima
Colima version: 0.4.6
Using docker context: default (unix:///Users/private/.colima/default/docker.sock)
docker-compose: v2.10.2
Using DOCKER_HOST=unix:///Users/private/.colima/default/docker.sock
Docker version: 20.10.18
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:
Filesystem Size Used Available Use% Mounted on
overlay 97.9G 3.9G 88.9G 4% /
Container ddev-anata-dba Removed
Container ddev-anata-db Removed
Container ddev-anata-web Removed
Network ddev-anata_default Removed
Project anata has been stopped.
The ddev-ssh-agent container has been removed. When you start it again you will have to use 'ddev auth ssh' to provide key authentication again.
Existing docker containers:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Creating a new ddev project config in the current directory (/Users/private/d/tryddevproject-22499)
Once completed, your configuration will be written to /Users/private/d/tryddevproject-22499/.ddev/config.yaml
Configuring unrecognized codebase as project type 'php' at /Users/private/d/tryddevproject-22499/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-22499...
Container ddev-ssh-agent Started
ssh-agent container is running: If you want to add authentication to the ssh-agent container, run 'ddev auth ssh' to enable your keys.
Pushed mkcert rootca certs to ddev-global-cache/mkcert
v1.21.3: Pulling from drud/ddev-dbserver-mariadb-10.4
514fa78e57ce: Already exists
9a19b67b7b29: Already exists
6a529729e0fc: Already exists
132fff2a9860: Already exists
160f9920e268: Already exists
29efb4edd6ad: Already exists
ada83846c848: Already exists
e15ebbc6772e: Already exists
30a3ad833355: Already exists
df7aba4c8553: Already exists
0ea5ce46ac2e: Already exists
e63ec70be078: Already exists
4f4fb700ef54: Already exists
ece5eb42ee0e: Already exists
7a3fd679e55b: Already exists
086720df1b07: Already exists
579eaccddd52: Already exists
31ce89a46be8: Already exists
bc0c424cb5a7: Already exists
b609af14d61e: Already exists
856689190770: Already exists
578920a1a8ff: Already exists
de7cb85be76a: Already exists
fbc5bdc49a8c: Already exists
089923fbc542: Already exists
8a616b601846: Already exists
Digest: sha256:49fd0139b4790a8c8f2dd790d15b9e4ddc43cf6cb4039dc9ff8ad7b37cdf883c
Status: Downloaded newer image for drud/ddev-dbserver-mariadb-10.4:v1.21.3
docker.io/drud/ddev-dbserver-mariadb-10.4:v1.21.3
Network ddev-tryddevproject-22499_default Created
Container ddev-tryddevproject-22499-db Started
Container ddev-tryddevproject-22499-dba Started
Container ddev-tryddevproject-22499-web Started
Container ddev-router Started
Successfully started tryddevproject-22499
Project can be reached at https://tryddevproject-22499.ddev.site https://127.0.0.1:49154
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 12 Dec 2022 20:53:51 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Curl of site from outside:
HTTP/1.1 200 OK
Server: nginx/1.20.1
Date: Mon, 12 Dec 2022 20:53:51 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
drwxr-xr-x@ 4 private staff 128 Dec 13 05:53 ../tryddevproject-22499
======== Project ownership in container:
drwxr-xr-x 1 private dialout 128 Dec 12 20:53 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
:/Users/private fuse.sshfs 971350180 208525032 762825148 22% /var/www/html
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-22499'
Thanks for running the diagnostic. It was successful.
Please provide the output of this script in a new gist at gist.github.com
Running ddev launch in 5 seconds
If you're brave and you have jq you can delete all tryddevproject instances with this one-liner:
ddev delete -Oy $(ddev list -j |jq -r .raw[].name | grep tryddevproject)
In the future ddev debug test will also provide this option.
Please delete this project after debugging with 'ddev delete -Oy tryddevproject-22499'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment