Linux Format

CREATE A CONTAINER IN PORTAINER

-

1 Configure volumes

If you’ve not yet done so, visit Volumes to set up any required volumes you’ll need for your container. After giving your volume a suitably descriptiv­e name, click ‘add driver option’ to set one or more mountpoint­s (name) and their physical location on your drive (host). You can optionally restrict access to the volume by user and/or team. Click ‘Create the volume’.

3 Configure network ports

Portainer can randomly allocate unused host ports to your container. Simply flick the switch to do so; otherwise, click ‘publish a new network port’ to manually map ports if required. Below this is an Access Control section that enables you to restrict access to administra­tors or a defined set of users and/or teams (these need to be configured under Settings>Users).

2 Choose container image

Navigate to Containers and click Add Container. Give your container a suitably descriptiv­e name and then search the DockerHub registry for the applicatio­n in question. If you’re not sure what it’s called, enter a keyword into the Image box and click Search to open a new tab. Locate your chosen image (such as linuxserve­r/airsonic) and enter its name into the Image box.

4 Advanced container settings

This series of tabs enables you to specify other parts of your container. Many are self-explanator­y (Volumes refers to the -v tag, Env to -e variables, and so on). Network allows you to connect the container to the network as required – bridge by default, but container, host and none are also available. Consult the container’s own web page for full instructio­ns. Click ‘Deploy the container’.

 ?? ??
 ?? ??
 ?? ??
 ?? ??

Newspapers in English

Newspapers from Australia