atomicapp
atomicapp copied to clipboard
Changing how to we use atomicapp with atomicapp cli.
Wouldn't this be better?
sudo atomic run projectatomic/atomicapp fetch projectatomic/helloapache --destination helloapache
cd helloapache
cp answers.conf.sample answers.conf
sudo atomic run projectatomic/atomicapp .
# or
docker build -t foo
sudo atomic run projectatomic/atomicapp foo
or even we can do this if Project Atomic hosts use the Red Hat registry (official libraries) or the user aliases projectatomic/atomicapp to atomicapp
sudo atomic run atomicapp fetch projectatomic/helloapache --destination helloapache
cd helloapache
cp answers.conf.sample answers.conf
sudo atomic run atomicapp .
# or
docker build -t foo
sudo atomic run atomicapp foo
stop:
sudo atomic run atomicapp stop /home/foobar/myappdir
instead of what we currently have:
sudo atomic run projectatomic/helloapache --mode fetch --destination helloapache
cd helloapache
cp answers.conf.sample answers.conf
sudo atomic run projectatomic/helloapache .
Best part is: we can make the changes our side with no need to fix anything upstream. Just find a way to detect we're running via atomic cli and detect the first param passed in (fetch/run/stop, etc. but default to run)