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

make TOAD more docker environment for real-use case. #58

Open
1 of 4 tasks
s1061123 opened this issue Dec 2, 2016 · 7 comments
Open
1 of 4 tasks

make TOAD more docker environment for real-use case. #58

s1061123 opened this issue Dec 2, 2016 · 7 comments
Assignees
Milestone

Comments

@s1061123
Copy link
Collaborator

s1061123 commented Dec 2, 2016

For now, TOAD's docker is just for testing and not matured as docker container environment.

We need to work on following items:

  • identify user data (jjb files or some) and store it in locally (mount with '-v' option)
  • make clear docker build pipeline
  • make docker container image and put it to dockerhub
  • stop systemd and open only minimum port with EXPOSE in dockerfile
@s1061123 s1061123 changed the title make ansible-cira more docker environment make ansible-cira more docker environment for real-use case. Feb 16, 2017
@leifmadsen leifmadsen changed the title make ansible-cira more docker environment for real-use case. make TOAD more docker environment for real-use case. Feb 16, 2017
@zshi-redhat
Copy link
Contributor

identify user data (jjb files or some) and store it in locally
@s1061123 Is this the reason that JJB files are not loaded automatically with docker method after synchronizing JJB config ?

@s1061123
Copy link
Collaborator Author

@zshi-redhat it seems not to related. Could you please file it in new issue ticket?

@s1061123
Copy link
Collaborator Author

For user data, especially JJB files, we need to take care carefully because ansible-playbook can overwrite it in next provision.
we need to add some tags at copying JJB file in docker case, like 'docker_copy_jjb' then we could skip it with "--skip-tags docker_copy_jjb".

@s1061123
Copy link
Collaborator Author

#83 adds mapping container data to host directory.

@leifmadsen leifmadsen added this to the 17.03 milestone Mar 13, 2017
@leifmadsen leifmadsen self-assigned this Mar 13, 2017
@leifmadsen
Copy link
Contributor

Honestly I think there is a possible need that we want to start breaking out configuration into locally deployed directories, and then mounting those into the image, rather than writing directly to the image. Of course we then need to determine if we're going to continue to support the OpenStack deployment method as well, or say that containers are the only way we're going to allow deployment of TOAD.

If we continue to support the OpenStack method, then I think we need to keep "doing it wrong" on the container side of things and configuring the image. If we do that, then I think the container image will really just be a data image that still needs to be "configured" via Ansible (same as we do now), but we'll be able to skip downloading anything from the container image, as all binaries will already be installed.

Thoughts?

@dougbtv
Copy link
Member

dougbtv commented Mar 21, 2017

Honestly I think there is a possible need that we want to start breaking out configuration into locally deployed directories, and then mounting those into the image, rather than writing directly to the image.

Just wanted to say that I like this approach.

Unsure about the OpenStack method, definitely defer to others use-case on that one.

@dougbtv
Copy link
Member

dougbtv commented Mar 21, 2017

Also thought I'd mention we might be able to use docker cp to copy files into a docker volume, fwiw.

More info @ https://docs.docker.com/engine/reference/commandline/cp/

@leifmadsen leifmadsen modified the milestones: 17.04, 17.03 Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants