简体   繁体   English

在Docker Hub上链接图像

[英]Link images on Docker Hub

I want push my app in a docker image on docker hub, but my app needs a database. 我想在Docker Hub上的Docker映像中推送我的应用程序,但是我的应用程序需要一个数据库。 How do I automatic link my app with a database image (postgres) in docker hub? 如何自动将我的应用程序与Docker Hub中的数据库映像(postgres)链接?

Obs: Docker hub doesn't support docker compose. Obs:Docker中心不支持docker compose。

As others have already mentioned, this isn't really the purpose of Docker Hub. 正如其他人已经提到的那样,这并不是Docker Hub的真正目的。 Docker Hub stores and provides publicly accessible container images that developers can use to build complete applications from, using tools like Docker Compose. Docker Hub存储并提供可公开访问的容器映像,开发人员可以使用Docker Compose之类的工具来构建完整的应用程序。

However, with that in mind, you'll want to keep an eye on the new Docker Store, which is currently promising to provide full-featured applications running in Docker containers. 但是,考虑到这一点,您将需要密切关注新的Docker商店,该商店目前有望提供在Docker容器中运行的全功能应用程序。

Here's a blog post that talks about it: https://blog.docker.com/2016/06/docker-store/ 这是一篇谈论它的博客文章: https : //blog.docker.com/2016/06/docker-store/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM