Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Docker container for creating and serving a custom conda repo/channel

Notifications You must be signed in to change notification settings

danielfrg/docker-conda-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker conda-channel

Docker container to create and serve a custom conda channel.

Based on the documentation on custom channels

Usage

To create a custom channel, first organize all the packages in subdirectories for the platforms you wish to serve.

channel/
  linux-32/
    package-1.0-0.tar.bz
  linux-64/
    package-1.0-0.tar.bz
  osx-64/
    package-1.0-0.tar.bz
  win-64/
    package-1.0-0.tar.bz
  ...

Now start the container sharing the channel directory as a volume

docker run -v $(pwd)/channel:/channel -p 8080:80 -it danielfrg/conda-channel

You can now go to: http://{DOCKER_HOST}:8080 and see the channel repo.

Common errors

403 on packages: This usually means that the container user executing nginx cannot read the packages. Make sure all the tar.bz2 files are readable by all users: chmod 644 *.tar.bz2

About

Docker container for creating and serving a custom conda repo/channel

Resources

Stars

Watchers

Forks

Packages

No packages published