cloud:recipe:docker
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
cloud:recipe:docker [2020/05/14 14:49] – [Caveats] chudler | cloud:recipe:docker [2020/11/18 16:26] – [Running a Public Container] chudler | ||
---|---|---|---|
Line 10: | Line 10: | ||
======Running a Public Container====== | ======Running a Public Container====== | ||
- | To run a container | + | To run a container, first launch it on a specific *internal* network. See [[https:// |
- | < | + | < |
- | Access | + | The container will be assigned a //name// and an internal IP on the __cloud__ network. To access the container from the outside world, first obtain a Floating IP address and then assign it to the container: |
+ | |||
+ | < | ||
+ | openstack floating ip create --subnet public37 campus37 | ||
+ | openstack appcontainer add floating ip lambda-15-container 128.135.xx.xx # use the IP address result from the previous command. | ||
+ | </ | ||
+ | |||
+ | Now you can access | ||
Try these commands to get started (using the UUID of your running container instances): | Try these commands to get started (using the UUID of your running container instances): |
/var/lib/dokuwiki/data/pages/cloud/recipe/docker.txt · Last modified: 2020/11/18 16:28 by chudler