Task #11274

dockerize updated version of ss3 shiny

Added by Anne Elise Nieblas 8 months ago. Updated 3 months ago.

Status:ClosedStart date:Feb 22, 2018
Priority:NormalDue date:
Assignee:Nathan Vaughan% Done:

100%

Category:Default
Sprint:WP08
Infrastructure:Development
Milestones:
Duration:

Description

Hello,
I've made some changes to the SS3 Diagnostic Plots shiny of the IOTC_SS3 VRE. Can you please dockerize it for me? The github address for the project is

https://github.com/aenieblas/IOTC_SS3_Shiny/blob/master/ss3_dashboard_final.Rmd

Also, what are the options for deploying it ourselves? i.e., it's the end of the project and it would be useful to be independent.
Thanks! Anne-Elise

History

#1 Updated by Pasquale Pagano 8 months ago

  • Tracker changed from Support to Task

#2 Updated by Nathan Vaughan 8 months ago

Hi @anne.elise.nieblas@gmail.com I have added your changes and the docker image is building now. @andrea.dellamico@isti.cnr.it will be able to pull the new image in an hour or so, I will confirm when the build is completed.

#3 Updated by Nathan Vaughan 8 months ago

Regarding self-deployment here is a link to a tutorial document I have been working on. Perhaps you could follow this process and recreate the docker image I build then that can be used and we can remove the one currently created by if. I can answer questions along the way as well. Once you get the process down it's just a matter of adapting dependencies for any other project. https://github.com/nathanvaughan1/DockerTutorial

#4 Updated by Andrea Dell'Amico 8 months ago

I pulled the new image, but when I tried it failed with

Error in nc_open trying to open file http://mdst-macroes.ird.fr:8080/thredds/dodsC/BlueBridge/IOTC/data_ss324_SWO_1.nc

#5 Updated by Andrea Dell'Amico 8 months ago

Nathan Vaughan wrote:

Regarding self-deployment here is a link to a tutorial document I have been working on. Perhaps you could follow this process and recreate the docker image I build then that can be used and we can remove the one currently created by if. I can answer questions along the way as well. Once you get the process down it's just a matter of adapting dependencies for any other project. https://github.com/nathanvaughan1/DockerTutorial

@nathan.vaughan1@gmail.com thanks! Please follow https://support.d4science.org/issues/10363 if you are interested, we'll set up an environment where to build and register docker images. Automatically if possible, by a Jenkins instance.

#6 Updated by Andrea Dell'Amico 8 months ago

Andrea Dell'Amico wrote:

I pulled the new image, but when I tried it failed with

Error in nc_open trying to open file http://mdst-macroes.ird.fr:8080/thredds/dodsC/BlueBridge/IOTC/data_ss324_SWO_1.nc

I tried a wget of that file, and the server answers with:

wget  http://mdst-macroes.ird.fr:8080/thredds/dodsC/BlueBridge/IOTC/data_ss324_YFT_1.nc
--2018-02-22 18:28:46--  http://mdst-macroes.ird.fr:8080/thredds/dodsC/BlueBridge/IOTC/data_ss324_YFT_1.nc
Resolving mdst-macroes.ird.fr (mdst-macroes.ird.fr)... 91.203.33.20
Connecting to mdst-macroes.ird.fr (mdst-macroes.ird.fr)|91.203.33.20|:8080... connected.
HTTP request sent, awaiting response... 400 Bad Request
2018-02-22 18:28:46 ERROR 400: Bad Request.

#7 Updated by Nathan Vaughan 8 months ago

Thanks @andrea.dellamico@isti.cnr.it The new docker image is still building so that is probably the issue. I'll let you know when it is finished.

#8 Updated by Andrea Dell'Amico 8 months ago

Ah. Ops, sorry.

#9 Updated by Nathan Vaughan 8 months ago

@andrea.dellamico@isti.cnr.it Docker image should be ready now.

#10 Updated by Andrea Dell'Amico 8 months ago

  • % Done changed from 0 to 100
  • Status changed from New to In Progress

Image pulled, and tested.

#11 Updated by Nathan Vaughan 8 months ago

Thanks @andrea.dellamico@isti.cnr.it just checked it and looks good. @anne.elise.nieblas@gmail.com let me know how it goes building your own docker image, I can answer questions along the way.

#12 Updated by Anne Elise Nieblas 8 months ago

Hello - I just tested the docker image and it looks great. Thanks heaps! @nathan.vaughan1@gmail.com, it's great to know about your tutorial. I have several other tasks to finish before the end of my contract (next Wednesday!), but I'll try to give the self-dockerization a go if possible. I'll be in touch with questions. Cheers!

#13 Updated by Luca Frosini 3 months ago

  • Status changed from In Progress to Closed

It seems that this activity has been concluded. I'm going to close this ticket

Also available in: Atom PDF