在 ssh 会话中访问应用程序文件到 google 应用引擎是否灵活?

Access app files in ssh session into google app engine flexible?

我正在建立一个基于 PHP 的 Google App Engine 柔性环境项目,如果我可以访问 [= =25=] 文件在 SSH 会话中 运行 正在 /app,Google 云控制台在 Web 浏览器中如此优雅地提供。

很遗憾,我找不到与此相关的信息。我可以看到 mount 命令的输出,看起来好像安装了很多路径,但是 none 给出了可以找到我的 /app 的线索:

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=191984,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=154052k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=308100k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,relatime,net_prio)
/dev/sda1 on /var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)
none on /var/lib/docker/aufs/mnt/a8141f5169b6d62d3baeb5d0da713cdf77a2a5524ba492a579a8af9963f2aba4 type aufs (rw,relatime,si=5f839818bd3efaaa,dio,dirperm1)
shm on /var/lib/docker/containers/11aafe10a4269e66ffef7b09dd07d0793e1793bf17a287311e9cdc26bca39a25/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
proc on /run/docker/netns/b3fa6a6ae075 type proc (rw,nosuid,nodev,noexec,relatime)
none on /var/lib/docker/aufs/mnt/5b5758049ca6d6c65eddcffcc1d18be01d5337a0ccd27b9f7a80d417495ccf95 type aufs (rw,relatime,si=5f839818a368baaa,dio,dirperm1)
shm on /var/lib/docker/containers/08ba8f0c4ba4a1373f5c6723f4ed2b76c88994a9b5ef3f47dc100b833f39233d/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
proc on /run/docker/netns/b94901bac194 type proc (rw,nosuid,nodev,noexec,relatime)
none on /var/lib/docker/aufs/mnt/6fee2ea01a6311aaf32767351e2635e03d20c2bcdff3034bdf8145e672f1ab3e type aufs (rw,relatime,si=5f839818a32d5aaa,dio,dirperm1)
shm on /var/lib/docker/containers/8d81f94a6c7381323b8f8fb86fbc4546db03bdbc68cc537a0684be32773f921e/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
proc on /run/docker/netns/db581b9dfbd7 type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /mnt/app_volumes/mnt/ramdisk1 type tmpfs (rw,relatime,size=104448k)
none on /var/lib/docker/aufs/mnt/cd6c2ddbddf1a871e9e5da6b7ebe2515da0002829aca2fb9eb598b48c3c4ad8f type aufs (rw,relatime,si=5f839818a0d6baaa,dio,dirperm1)
shm on /var/lib/docker/containers/a16282fee594fc5d38ef3185b8442f15f16d2f496f49a5748536067ac3826840/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
proc on /run/docker/netns/f14af5f2d130 type proc (rw,nosuid,nodev,noexec,relatime)
none on /var/lib/docker/aufs/mnt/bf58f8c8520fb2113364cbd31709159c36f09bceff53239cd42e238ed53fd357 type aufs (rw,relatime,si=5f839818b97b5aaa,dio,dirperm1)
shm on /var/lib/docker/containers/e778b3781b6a8f4ab53bb925a9cd196da258c6e95c74c22eed029b2b3e4c7955/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
proc on /run/docker/netns/19a91926e87f type proc (rw,nosuid,nodev,noexec,relatime)

我的应用 运行 似乎正在使用 docker,但我无法列出容器,这就是我使用 $docker ps Cannot connect to the Docker daemon. Is the docker daemon running on this host?

得到的结果

建议、指点将不胜感激!

$ sudo docker exec -t -i gaeapp /bin/bash
# Now you're in the app container!
# apt-get update && apt-get -y install vim

如果您正在使用 opcache,您可能需要重新启动 php-fpm。您可以通过以下方式重新启动一切:

# kill -HUP 1