{"id":1531,"date":"2022-09-21T14:10:39","date_gmt":"2022-09-21T13:10:39","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/igmit\/?p=1531"},"modified":"2022-09-21T14:10:40","modified_gmt":"2022-09-21T13:10:40","slug":"podman-bioconda-container-image","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/igmit\/?p=1531","title":{"rendered":"podman bioconda container image"},"content":{"rendered":"\n<p>This post is a bit of an after the event one!<\/p>\n\n\n\n<p>podman run -it ubi8\/ubi<\/p>\n\n\n\n<p>yum update<\/p>\n\n\n\n<p>yum group install &#8220;Development Tools&#8221;<\/p>\n\n\n\n<p>yum clean all<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cat &lt;&lt;EOF &gt; \/etc\/yum.repos.d\/conda.repo \n[conda]\nname=Conda \nbaseurl=https:\/\/repo.anaconda.com\/pkgs\/misc\/rpmrepo\/conda\nenabled=1 \ngpgcheck=1 \ngpgkey=https:\/\/repo.anaconda.com\/pkgs\/misc\/gpgkeys\/anaconda.asc \nEOF <\/pre>\n\n\n\n<p>yum update<\/p>\n\n\n\n<p>yum install conda<\/p>\n\n\n\n<p>yum clean all<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source \/opt\/conda\/etc\/profile.d\/conda.sh\nconda -V \n\n# conda update -n base -c defaults conda &lt;not working with rhel8.1 yet, suspect python\/gcc issue\n\nconda config --add channels defaults\nconda config --add channels bioconda\nconda config --add channels conda-forge\nconda create -n &lt;environment name&gt;\n\nMy default image is called conda-4-7-10 and available at quay.io<\/pre>\n\n\n\n<p>Ok updated to 4-8-4 and we have rid of the dodgy asc gpg issue, image should be up later. Should be good to pull packages after this into the container<\/p>\n\n\n\n<p>podman push &#8211; move the container image to quay.io<\/p>\n\n\n\n<p>podman login quay.io<\/p>\n\n\n\n<p>username<\/p>\n\n\n\n<p>password<\/p>\n\n\n\n<p>podman push quay.io\/&lt;user&gt;\/&lt;repo&gt;\/&lt;name&gt;<\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is a bit of an after the event one! podman run -it ubi8\/ubi yum update yum group install &#8220;Development Tools&#8221; yum clean all cat &lt;&lt;EOF &gt; \/etc\/yum.repos.d\/conda.repo [conda] name=Conda baseurl=https:\/\/repo.anaconda.com\/pkgs\/misc\/rpmrepo\/conda enabled=1 gpgcheck=1 gpgkey=https:\/\/repo.anaconda.com\/pkgs\/misc\/gpgkeys\/anaconda.asc EOF yum update yum install conda yum clean all source \/opt\/conda\/etc\/profile.d\/conda.sh conda -V # conda update -n base -c defaults <a href='https:\/\/blogs.ncl.ac.uk\/igmit\/?p=1531' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":4848,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1531","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-1-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=\/wp\/v2\/posts\/1531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=\/wp\/v2\/users\/4848"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1531"}],"version-history":[{"count":5,"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=\/wp\/v2\/posts\/1531\/revisions"}],"predecessor-version":[{"id":1552,"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=\/wp\/v2\/posts\/1531\/revisions\/1552"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/igmit\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}