Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error response from daemon: Cannot link to a non running container: /mysql-standalone AS /springboothibernateexample/mysql. #1460

Closed
rajeshrudra007 opened this issue Apr 1, 2018 · 2 comments
Labels

Comments

@rajeshrudra007
Copy link

Info:

When i am using this command : $ docker run --name springboothibernateexample --link mysql-standalone:mysql -d springboothibernateexample.

Issue:

Error response from daemon: Cannot link to a non running container: /mysql-standalone AS /springboothibernateexample/mysql.

Relevant Code:

logging.level=DEBUG

Database

db.driver: com.mysql.jdbc.Driver
db.url: jdbc:mysql://mysql-standalone:3306/test
db.username: root
db.password: root

Hibernate

hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
hibernate.show_sql: true
hibernate.hbm2ddl.auto: create
entitymanager.packagesToScan: org

spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true

#PORT
server.port=8082

Can you please provide the solution as soon as possible and Thanks

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant