lucad@lucad:~/Documents/webservice/build_images_start_containers$ podman run --publish 8080:3000 --name test webservice:latest
Error: creating container storage: the container name "test" is already in use by b9fa9a215008866f64125849976eabae6fce83433f09685899a7898733654641. You have to remove that container to be able to reuse that name: that name is already in use, or use --replace to instruct Podman to do so.
lucad@lucad:~/Documents/webservice/build_images_start_containers$ podman run --publish 8080:3000 --name webserver-container webservice:latest
lucad@lucad:~/Documents/webservice/build_images_start_containers$ podman run -it -d --name aws-cli -v ./.aws:/root/.aws aws-cli-container
Error: creating container storage: the container name "aws-cli" is already in use by 5af623036260134d44271ee90f389fce2084069e8faf7268ccfbb963ed7be0ca. You have to remove that container to be able to reuse that name: that name is already in use, or use --replace to instruct Podman to do so.
Error: cannot remove container 5af623036260134d44271ee90f389fce2084069e8faf7268ccfbb963ed7be0ca as it is running - running or paused containers cannot be removed without force: container state improper
make_bucket failed: s3://mein-bucket-name An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
Error: cannot remove container 1d746b3054f4d35b165899be1935bbb018ae0ea6b5fa1f258a5f5efed5caebd3 as it is running - running or paused containers cannot be removed without force: container state improper
^Ctime=2024-09-02T14:53:42.888Z level=INFO msg="HTTP-Server wird ordnungsgemäß heruntergefahren"
lucad@lucad:~/Documents/webservice/build_images_start_containers$ podman run --publish 8080:3000 -rm --name webserver-container -d webservice:latest
Error: unknown shorthand flag: 'r' in -rm
See 'podman run --help'
lucad@lucad:~/Documents/webservice/build_images_start_containers$ podman run --publish 8080:3000 --rm --name webserver-container -d webservice:latest
Error: creating container storage: the container name "webserver-container" is already in use by 816358d9051b3892064310cb077261f895c53311c7922216f938d302f4bc1238. You have to remove that container to be able to reuse that name: that name is already in use, or use --replace to instruct Podman to do so.
lucad@lucad:~/Documents/webservice/build_images_start_containers$ podman run --publish 8080:3000 --rm --name webserver-cont -d webservice:latest