使用docker运行旧的rails 2.x,如何检查docker文件?

我试图运行这个docker图像,但我需要阅读dockerfile来了解它的期望。

如何查看Docker文件: https : //hub.docker.com/r/honigwasser/base-rails-ruby-2.3/

当我运行docker映像时,出现这个错误:

*** Running /etc/my_init.d/00_clean_rails_dir.sh... *** Running /etc/my_init.d/01_read_secrets.sh... Not reading secrets from Vault (READ_SECRETS_FROM_VAULT != true) *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 10 Could not locate Gemfile or .bundle/ directory Could not locate Gemfile or .bundle/ directory Could not locate Gemfile or .bundle/ directory Could not locate Gemfile or .bundle/ directory 

你有没有试过在容器内部ssh? 像docker exec -it <container_id>

如果你想,你也可以尝试从容器中复制文件到你的本地像docker cp <container_id>:/ .