Skip to content

How can i forward a port of a second container ? #9614

Answered by jbalzar
Smallinger asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to run a healthy second container by executing the docker entrypoint.

Try this on the agent:

startup_script         = <<-EOT
    set -e

    # execute docker entrypoint
    bash /usr/local/bin/docker-entrypoint.sh mariadbd > /tmp/docker-entrypoint.sh.log 2>&1 &
  EOT

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@Smallinger
Comment options

@matifali
Comment options

@Smallinger
Comment options

@matifali
Comment options

@Smallinger
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by matifali
Comment options

You must be logged in to vote
1 reply
@pasuder
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
need-help Assign this label prompts an engineer to check the issue.
4 participants
Converted from issue

This discussion was converted from issue #9610 on September 11, 2023 06:45.