Giter VIP home page Giter VIP logo

containerfile-lab0's Introduction

containerfile-lab0

Gurobi grbts Build & Run

  • sudo podman build --tag rlinfati/containerfile-lab0:grbts-999 github.com/rlinfati/containerfile-lab0 --file Dockerfile.grbts
  • sudo podman pull docker.io/rlinfati/containerfile-lab0:grbts-999
  • sudo podman run --rm --interactive --tty --name grbts --mac-address 01:02:03:04:05:06 --hostname server.domain.tld --pid=host --volume OPTgurobi:/opt/gurobi --publish 41954:41954 --replace rlinfati/containerfile-lab0:grbts-999 grbgetkey --path /opt/gurobi/ 00000000-0000-0000-0000-000000000000
  • sudo podman create --interactive --tty --name grbts --mac-address 01:02:03:04:05:06 --hostname server.domain.tld --pid=host --volume OPTgurobi:/opt/gurobi --publish 41954:41954 --replace rlinfati/containerfile-lab0:grbts-999
  • sudo podman start grbts
  • sudo podman exec -it grbts curl 1.1.1.1

StrongSwan eap-tls Build & Run

  • sudo podman build --tag rlinfati/containerfile-lab0:ikev2-tls-999 github.com/rlinfati/containerfile-lab0 --file Dockerfile.ikev2-tls
  • sudo podman pull docker.io/rlinfati/containerfile-lab0:ikev2-tls-999
  • sudo podman run --rm --interactive --tty --name ikev2-tls --replace --volume IKEv2-letsencrypt:/etc/letsencrypt --volume IKEv2-swanctl:/etc/strongswan/swanctl --network host --entrypoint '' rlinfati/containerfile-lab0:ikev2-tls-999 /opt/certbot/bin/certbot certonly --verbose --standalone --domain server.domain.tld --register-unsafely-without-email --agree-tos
  • sudo podman run --rm --interactive --tty --name ikev2-tls --replace --volume IKEv2-letsencrypt:/etc/letsencrypt --volume IKEv2-swanctl:/etc/strongswan/swanctl --network host --entrypoint bash rlinfati/containerfile-lab0:ikev2-tls-999
  • cp /etc/letsencrypt/live/server.domain.tld/cert.pem /etc/strongswan/swanctl/x509/le-ikev2-srv.crt && cp /etc/letsencrypt/live/server.domain.tld/privkey.pem /etc/strongswan/swanctl/private/le-ikev2-srv.key
  • vi /etc/strongswan/swanctl/conf.d/ikev2-server.domain.tld.conf
  • sudo podman create --interactive --tty --name ikev2-tls --replace --volume IKEv2-letsencrypt:/etc/letsencrypt --volume IKEv2-swanctl:/etc/strongswan/swanctl --network host --privileged rlinfati/containerfile-lab0:ikev2-tls-999
  • sudo podman start ikev2-tls
  • sudo podman exec -it ikev2-tls curl 1.1.1.1

Samba AD-DC Build & Run

  • sudo podman build --tag rlinfati/containerfile-lab0:samba-999 github.com/rlinfati/containerfile-lab0 --file Dockerfile.samba
  • sudo podman pull docker.io/rlinfati/containerfile-lab0:samba-999
  • sudo podman run --rm --interactive --tty --name sambaNET --replace --volume sambaNET-etc:/etc/samba --volume sambaNET-var:/var/lib/samba --privileged --entrypoint '' docker.io/rlinfati/containerfile-lab0:samba-999 samba-tool domain provision --site podmanNET --domain m0net --realm m0net.home.arpa --option="dns forwarder=8.8.8.8"
  • sudo podman create --interactive --tty --name sambaNET --replace --volume sambaNET-etc:/etc/samba --volume sambaNET-var:/var/lib/samba --privileged docker.io/rlinfati/containerfile-lab0:samba-999
  • sudo podman start sambaNET
  • sudo podman exec -it sambaNET bash
  • echo -e nameserver 127.0.0.1 \nsearch m0net.home.arpa > /etc/resolv.conf
  • kinit [email protected]
  • klist

Slurm Build & Run

  • sudo podman build --tag rlinfati/containerfile-lab0:slurm-999 github.com/rlinfati/containerfile-lab0 --file Dockerfile.slurm
  • sudo podman pull docker.io/rlinfati/containerfile-lab0:slurm-999
  • sudo podman create --interactive --tty --name slurm0 --replace --hostname slurm0 rlinfati/containerfile-lab0:slurm-999
  • sudo podman start slurm0
  • sudo podman exec -it slurm0 sinfo
  • sudo podman exec -it slurm0 srun uname -a

containerfile-lab0's People

Contributors

rlinfati avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.